ci043-add-jenkins-ci #13
11
Jenkinsfile
vendored
11
Jenkinsfile
vendored
@@ -6,13 +6,6 @@ pipeline {
|
|||||||
nodejs 'NodeJS-24.2.0'
|
nodejs 'NodeJS-24.2.0'
|
||||||
}
|
}
|
||||||
|
|
||||||
// environment {
|
|
||||||
// REGISTRY = 'https://gitea.innovation-hub-niedersachsen.de/'
|
|
||||||
// IMAGE = 'tatort-app'
|
|
||||||
// USER = 'jared'
|
|
||||||
// TOKEN = credentials('c661e484bb4f032f8a0a5b02cda6f3344ca584b5')
|
|
||||||
// }
|
|
||||||
|
|
||||||
stages {
|
stages {
|
||||||
// stage('Install Dependencies') {
|
// stage('Install Dependencies') {
|
||||||
// steps {
|
// steps {
|
||||||
@@ -48,8 +41,8 @@ pipeline {
|
|||||||
steps {
|
steps {
|
||||||
echo 'Start Pushing'
|
echo 'Start Pushing'
|
||||||
script {
|
script {
|
||||||
docker.withRegistry('https://gitea.innovation-hub-niedersachsen.de', '74a7c9bb-c80f-4699-ab0e-f98fb2f9a8e6') {
|
docker.withRegistry('https://gitea.innovation-hub-niedersachsen.de', 'JenkinsGitea') {
|
||||||
docker.build('gitea.innovation-hub-niedersachsen.de/innohub/-/tatort-app').push('latest')
|
docker.build('innohub/tatort/tatort-app').push('latest')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user