rm deploy

This commit is contained in:
Shane MacBride 2017-08-18 11:12:38 -07:00 committed by GitHub
parent 66fd42a45e
commit 6f9097e701

13
Jenkinsfile vendored
View file

@ -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'
}
}
}
}
}