jenkins-fire-cli: simplify the usage of jenkins-cli and job-dsl commandl line
39 views
Skip to first unread message
Weihong Xu
unread,
Sep 14, 2022, 11:57:19 PM9/14/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Jenkins Users
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