Skip to content

Commit

Permalink
Merge pull request #99 from stefanbschneider/dev
Browse files Browse the repository at this point in the history
adjusted jenkinsfile for rel 5.0
  • Loading branch information
Felipe Vicens committed Sep 5, 2019
2 parents 346ccf3 + f95e443 commit e1a3a61
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,21 @@ pipeline {
sh "pipeline/checkstyle/check.sh"
}
}
stage('Promoting release v5.0') {
when {
branch 'v5.0'
}
stages {
stage('Generating release') {
steps {
sh 'docker tag registry.sonata-nfv.eu:5000/tng-sdk-benchmark:latest registry.sonata-nfv.eu:5000/tng-sdk-benchmark:v5.0'
sh 'docker tag registry.sonata-nfv.eu:5000/tng-sdk-benchmark:latest sonatanfv/tng-sdk-benchmark:v5.0'
sh 'docker push registry.sonata-nfv.eu:5000/tng-sdk-benchmark:v5.0'
sh 'docker push sonatanfv/tng-sdk-benchmark:v5.0'
}
}
}
}
}
post {
success {
Expand Down

0 comments on commit e1a3a61

Please sign in to comment.