renamed image tag
All checks were successful
InnoHub Processor/tatort/pipeline/head This commit looks good
All checks were successful
InnoHub Processor/tatort/pipeline/head This commit looks good
This commit is contained in:
12
Jenkinsfile
vendored
12
Jenkinsfile
vendored
@@ -7,7 +7,6 @@ pipeline {
|
|||||||
|
|
||||||
// environment {
|
// environment {
|
||||||
// REGISTRY = 'https://gitea.innovation-hub-niedersachsen.de/'
|
// REGISTRY = 'https://gitea.innovation-hub-niedersachsen.de/'
|
||||||
// IMAGE = 'tatort-app'
|
|
||||||
// USER = 'jared'
|
// USER = 'jared'
|
||||||
// TOKEN = credentials('c661e484bb4f032f8a0a5b02cda6f3344ca584b5')
|
// TOKEN = credentials('c661e484bb4f032f8a0a5b02cda6f3344ca584b5')
|
||||||
// }
|
// }
|
||||||
@@ -44,7 +43,7 @@ pipeline {
|
|||||||
steps {
|
steps {
|
||||||
echo 'Start Pushing'
|
echo 'Start Pushing'
|
||||||
script {
|
script {
|
||||||
def tag = "innohub/tatort:${env.BUILD_ID}-dev"
|
def tag = "innohub/tatort-dev:${env.BUILD_ID}"
|
||||||
docker.withRegistry('https://gitea.innovation-hub-niedersachsen.de', 'JenkinsGitea') {
|
docker.withRegistry('https://gitea.innovation-hub-niedersachsen.de', 'JenkinsGitea') {
|
||||||
docker.build(tag, '-f Dockerfile.dev .').push()
|
docker.build(tag, '-f Dockerfile.dev .').push()
|
||||||
}
|
}
|
||||||
@@ -53,15 +52,6 @@ pipeline {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// stage('Build') {
|
|
||||||
// when {
|
|
||||||
// branch 'development'
|
|
||||||
// }
|
|
||||||
// steps {
|
|
||||||
// sh 'npm run build'
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
|
|
||||||
post {
|
post {
|
||||||
success {
|
success {
|
||||||
echo 'Pipeline erfolgreich!'
|
echo 'Pipeline erfolgreich!'
|
||||||
|
|||||||
Reference in New Issue
Block a user