Skip to content

Commit

Permalink
Merge pull request #120 from luishens01/v4.0
Browse files Browse the repository at this point in the history
modify jenkinsfile
  • Loading branch information
Felipe Vicens authored Jul 31, 2018
2 parents 578979b + 96e6b66 commit 486b864
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ pipeline {
}
stage('tng-gtk-common') {
steps {
sh 'docker build -t registry.sonata-nfv.eu:5000/tng-gtk-common .'
sh 'docker build -t registry.sonata-nfv.eu:5000/tng-gtk-common:v4.0 .'
}
}
}
Expand All @@ -34,7 +34,7 @@ pipeline {
}
stage('tng-gtk-common') {
steps {
sh 'docker push registry.sonata-nfv.eu:5000/tng-gtk-common'
sh 'docker push registry.sonata-nfv.eu:5000/tng-gtk-common:v4.0'
}
}
}
Expand All @@ -51,8 +51,8 @@ pipeline {
sh 'rm -rf tng-devops || true'
sh 'git clone https://github.com/sonata-nfv/tng-devops.git'
dir(path: 'tng-devops') {
sh 'ansible-playbook roles/sp.yml -i environments -e "target=pre-int-sp component=gatekeeper host_key_checking=False"'
sh 'ansible-playbook roles/vnv.yml -i environments -e "target=pre-int-vnv-bcn.5gtango.eu component=gatekeeper"'
sh 'ansible-playbook roles/sp.yml -i environments -e "target=sta-sp-v4.0 component=gatekeeper host_key_checking=False"'
sh 'ansible-playbook roles/vnv.yml -i environments -e "target=sta-sp-v4.0 component=gatekeeper"'
}

}
Expand All @@ -76,8 +76,8 @@ pipeline {
}
stage('tng-gtk-common') {
steps {
sh 'docker tag registry.sonata-nfv.eu:5000/tng-gtk-common:latest registry.sonata-nfv.eu:5000/tng-gtk-common:int'
sh 'docker push registry.sonata-nfv.eu:5000/tng-gtk-common:int'
sh 'docker tag registry.sonata-nfv.eu:5000/tng-gtk-common:v4.0 registry.sonata-nfv.eu:5000/tng-gtk-common:v4.0'
sh 'docker push registry.sonata-nfv.eu:5000/tng-gtk-common:v4.0'
}
}
}
Expand Down

0 comments on commit 486b864

Please sign in to comment.