mirror of
https://github.com/dockersamples/example-voting-app.git
synced 2026-07-10 17:09:28 +00:00
remove unused Jenkins
This commit is contained in:
54
Jenkinsfile
vendored
54
Jenkinsfile
vendored
@@ -1,54 +0,0 @@
|
||||
pipeline {
|
||||
agent {
|
||||
node {
|
||||
label 'ubuntu-1604-aufs-stable'
|
||||
}
|
||||
}
|
||||
stages {
|
||||
stage('Build result') {
|
||||
steps {
|
||||
sh 'docker build -t dockersamples/result ./result'
|
||||
}
|
||||
}
|
||||
stage('Build vote') {
|
||||
steps {
|
||||
sh 'docker build -t dockersamples/vote ./vote'
|
||||
}
|
||||
}
|
||||
stage('Build worker') {
|
||||
steps {
|
||||
sh 'docker build -t dockersamples/worker ./worker'
|
||||
}
|
||||
}
|
||||
stage('Push result image') {
|
||||
when {
|
||||
branch 'master'
|
||||
}
|
||||
steps {
|
||||
withDockerRegistry(credentialsId: 'dockerbuildbot-index.docker.io', url:'') {
|
||||
sh 'docker push dockersamples/result'
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Push vote image') {
|
||||
when {
|
||||
branch 'master'
|
||||
}
|
||||
steps {
|
||||
withDockerRegistry(credentialsId: 'dockerbuildbot-index.docker.io', url:'') {
|
||||
sh 'docker push dockersamples/vote'
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Push worker image') {
|
||||
when {
|
||||
branch 'master'
|
||||
}
|
||||
steps {
|
||||
withDockerRegistry(credentialsId: 'dockerbuildbot-index.docker.io', url:'') {
|
||||
sh 'docker push dockersamples/worker'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user