Installed Blueocean from the docker image docker pull jenkinsci/blueocean. 
I wanted to include a Cloud Foundry Deployment step(sh cf push) in my 
pipeline and stuck with the error 
script.sh: line 1: cf: not found

I knew what's happening - as there is no compatiable CF CLI plug-in the 
script command CF is not working. And I tried different things,

1)  In my Jenkinsfile, I Tried using the the Cloud foundry plug-in(
CloudFoundryPushPublisher) which is supported in non-pipeline build. And 
that didn't help.
step([$class: 'com.hpe.cloudfoundryjenkins.CloudFoundryPushPublisher',

        target: 'https://api.ng.bluemix.net',

        organization: 'xxxx',

        cloudSpace: 'xxxxx',

        credentialsId: 'xxxxxx',

        selfSigned: true,

        resetIfExists: true]); - that failed with 'Invalid Argument 
exception'



My question is, I heared Cloudbee's has a commericial version that supports 
CF CLI, but that ability is missing from blueocean. So how should I be able 
to push the deployments to cloud foundry using Pipleline job.


Thanks,

Sekhar.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/ce6a27c1-3e6d-49c9-856a-6950e147fd84%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to