Actions and Commands of Jenkins
Actions | Commands | OpenSource |
---|---|---|
List Jobs | jenkins list | https://www.npmjs.com/package/jenkins |
Build Jobs | jenkins build <job name/job number> | https://www.npmjs.com/package/jenkins |
Describe job | jenkins describe <jobname> | https://www.npmjs.com/package/jenkins |
Last Build Job Status | jenkins last <jobname> | https://www.npmjs.com/package/jenkins |
Jenkins Username the Hubot has for you | jenkins auth | https://www.npmjs.com/package/jenkins |
Clear Jenkins Credentials | jenkins auth clear | https://www.npmjs.com/package/jenkins |
Enable a Job in Jenkins | enable <jobname> | https://www.npmjs.com/package/jenkins |
Disable a Job in Jenkins | disable <jobname> | https://www.npmjs.com/package/jenkins |
List Jobs | jenkins list | https://www.npmjs.com/package/jenkins |
List Jobs | jenkins list | NO |
Create a Job | create job <jobname> with localconfig.xml | NO |
Delete a Job | delete job <jobname> | NO |
Install plugin(s) | install <plugin1> <plugin2>….. in jenkins | NO |
Restart Jenkins | restart jenkins | NO |
Build Job with Params (pre-existing keys) | start <jobname> build with params <param1>=<paramvalue1> <param2>=<paramvalue=2> | NO |
Add New Params | give <jobname> config / upload <jobname> config | NO |
0 Comments