Jenkins community has provided the offical jenkins-cli.jar but it is 
not intuitive to use it. So I just create a wrapper for it to make it more 
easier to use.  All you need is to 

pip install jenkins-fire-cli
jenkins-fire-cli config set jenkins.url http://your-jenkins-site-url
jenkins-fire-cli config set user.name john.doe
jenkins-fire-cli config set user.token TOKEN_OR_PASSWORD
jenkins-fire-cli init  # to download jenkins-cli.jar and 
jenkins-job-dsl-core.jar

And then you can run the command line
jenkins-fire-cli run list-jobs

More detail could be found here: https://github.com/link89/jenkins-fire-cli 

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/da3421f1-a9e7-455e-8df8-8ac40292bd83n%40googlegroups.com.

Reply via email to