A little off topic, because it doesn't use jenkins-cli.jar (-:
When your jenkins ssh port is accessible, you could use something like this:
#!/bin/sh
# check which jenkins jobs are enabled/disabled, using ssh
JENKINS_CONTROLLER=jenkins.my.org
JENKINS_SSH_PORT=
JENKINS_USER=jenkins
JOBS=$(ssh -
Hi , did you find the solution , even i m looking for the same.
On Wednesday, 22 March 2017 at 01:09:41 UTC+5:30 Raj wrote:
> I would like to know if there is a way to use jenkins cli jar file and
> find out if a given job is enabled or currently disabled.
> i have about 700 jobs on the server