mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-18 05:25:50 +00:00
rm deploy
This commit is contained in:
parent
66fd42a45e
commit
6f9097e701
1 changed files with 0 additions and 13 deletions
13
Jenkinsfile
vendored
13
Jenkinsfile
vendored
|
@ -15,18 +15,5 @@ pipeline {
|
|||
}
|
||||
}
|
||||
}
|
||||
stage('Deploy') {
|
||||
agent {
|
||||
docker {
|
||||
image 'liatrio/cf-cli'
|
||||
}
|
||||
}
|
||||
steps {
|
||||
withCredentials([usernamePassword(credentialsId: 'pivotal', passwordVariable: 'PASSWORD', usernameVariable: 'USERNAME')]) {
|
||||
sh "cf api https://api.run.pivotal.io && cf login -u ${env.USERNAME} -p ${env.PASSWORD}"
|
||||
sh 'cf push'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue