How do I use the CloudBees SDK (command line interface) on Jenkins -


i running job in dev@cloud on cloudbees - want use cloudbees sdk/cli, how do within job?

the scripting bees sdk in jenkins doc includes write-up this.

firstly, use freestyle job, install bees sdk part of it:

# install , configure bees sdk export bees_home=/opt/cloudbees/cloudbees-sdk/ export path=$path:$bees_home if [ ! -d ~/.bees ];     bees init -f -a <your account name here> -ep -k $bees_api -s $bees_secret fi 

then set secrets in jenkins setup bees_api bees_secret - , can use bees sdk commands.

you can install plugins need here well.


Comments

Popular posts from this blog

java - How to Configure JAXRS and Spring With Annotations -

visual studio - TFS will not accept changes I've made to a Java project -

php - Create image in codeigniter on the fly -