Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »

Actions and Commands

The Commands and Actions Jenkins Bot can perform :

ActionsCommandsOpenSource

List Jobs

jenkins list

Yes

Build Jobs

jenkins build <job name/job number>

Yes

Describe job

jenkins describe <jobname>

Yes

Last Build Job Status

jenkins last <jobname>

Yes

Jenkins Username the Hubot has for you

jenkins auth

Yes

Clear Jenkins Credentials

jenkins auth clear

Yes

Enable a Job in Jenkins

enable <jobname>

Yes

Disable a Job in Jenkins

disable <jobname>

Yes

List Jobs

jenkins list

Yes

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

Open source Referencehttps://www.npmjs.com/package/jenkins

  • No labels

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.