Add deploy stage

This commit is contained in:
Ajay Kumar
2019-03-25 19:18:10 +05:30
parent 78b0aee8ab
commit 25d628e222

2
Jenkinsfile vendored
View File

@@ -27,7 +27,7 @@ pipeline {
withCredentials([[$class: 'UsernamePasswordMultiBinding', credentialsId: 'PCF_LOGIN', withCredentials([[$class: 'UsernamePasswordMultiBinding', credentialsId: 'PCF_LOGIN',
usernameVariable: 'USERNAME', passwordVariable: 'PASSWORD']]) { usernameVariable: 'USERNAME', passwordVariable: 'PASSWORD']]) {
sh 'cf login -a http://api.run.pivotal.io -u $USERNAME -p $PASSWORD' sh '/usr/local/bin/cf login -a http://api.run.pivotal.io -u $USERNAME -p $PASSWORD'
} }
} }
} }