Top "Jenkins-cli" questions

Jenkins has a built-in command line client that allows you to access Jenkins from a script or from your shell.

How to use Jenkins parameters in a shell script

I want to use the parameters that we define in the Jenkins job as arguments to the shell commands in …

shell jenkins jenkins-pipeline jenkins-cli
Same workspace for multiple jobs

I have a job called "development" and another project called "code analysis". At the moment we have two different jobs …

jenkins jenkins-plugins jenkins-cli
Execute Shell script from workspace on remote machine after build successful (Jenkins)

The scenario is - I have a job A which runs my ant script and packages the artifact's for me. …

jenkins jenkins-plugins jenkins-cli
Check Jenkins job status after triggering a build remotely

I have a script to trigger a job on Jenkins remotely using a token. Here is my script: JENKINS_URL=…

jenkins build jenkins-plugins jenkins-cli
Jenkins-Build when a change is pushed to GitHub option is not working

Jenkins is running on localhost. I have my repository in GitHub. I have the option to 'Build when a change …

git github jenkins jenkins-plugins jenkins-cli
How to remove old builds in jenkins?

I removed old build folders from the build directory in Jenkins expecting them to be removed in the UI, unfortunately …

jenkins jenkins-cli
How can I create parameterized Jenkins job?

I want to use same job in different machine. But I don't want to change the configuration of the job …

jenkins jenkins-plugins jenkins-cli jenkins-scriptler
How to increase jenkins build number automatically?

How to increase jenkins build number automatically or by using shell script?? For now i am doing the same using …

jenkins jenkins-plugins jenkins-cli jenkins-scriptler
Jenkins command to get number of builds in queue

I am trying to get the number of builds in the Jenkins Build Queue. May I know the Jenkins command …

jenkins jenkins-cli
Jenkins CLI connection refused

When executing java -jar jenkins-cli.jar -s https://jenkins_url help I'm getting connection refused for some reason. Jenkins version …

java ssh jenkins jenkins-cli