Add deploy stage
This commit is contained in:
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@@ -27,7 +27,7 @@ pipeline {
|
||||
withCredentials([[$class: 'UsernamePasswordMultiBinding', credentialsId: 'PCF_LOGIN',
|
||||
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'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user