Skip to content

Commit

Permalink
Merge pull request #151 from anapolg/master
Browse files Browse the repository at this point in the history
Jenkinsfile
  • Loading branch information
anapolg authored Sep 5, 2019
2 parents f8c318c + 0267bdf commit ee49886
Showing 1 changed file with 19 additions and 17 deletions.
36 changes: 19 additions & 17 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,24 +40,26 @@ pipeline {
}
}
stage('Containers Publication') {
steps {
echo 'Publication of containers in local registry....'
}
}
stage('Deployment in Integration') {
steps {
echo 'Deploying in integration...'
}
}
stage('Smoke Tests') {
steps {
echo 'Performing Smoke Tests....'
}
steps {
echo 'Publishing docker image....'
sh 'docker push registry.sonata-nfv.eu:5000/tng-sdk-validation'
}
}
stage('Publish Results') {
steps {
echo 'Publish Results...'
}
stage('Promoting release v5.0') {
when {
branch 'v5.0'
}
stages {
stage('Generating release') {
steps {
sh 'docker tag registry.sonata-nfv.eu:5000/tng-sdk-validation:latest registry.sonata-nfv.eu:5000/tng-sdk-validation:v5.0'
sh 'docker tag registry.sonata-nfv.eu:5000/tng-sdk-validation:latest sonatanfv/tng-sdk-validation:v5.0'
sh 'docker push registry.sonata-nfv.eu:5000/tng-sdk-validation:v5.0'
sh 'docker push sonatanfv/tng-sdk-validation:v5.0'
}
}
}
}

}
}

0 comments on commit ee49886

Please sign in to comment.