From 25d628e2224d1f2fb78efcc487b20cda9de4d128 Mon Sep 17 00:00:00 2001 From: Ajay Kumar Date: Mon, 25 Mar 2019 19:18:10 +0530 Subject: [PATCH] Add deploy stage --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 7c3346b..38b91b3 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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' } } }