Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-30955

Jenkins CLI unable to find job for disable-job command

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Major Major
    • cli
    • None
    • Jenkins 1.630
      OpenJDK 1.7.0_79
      Red Hat Enterprise Linux Server release 6.6 (Santiago)

      Trying to disable a job using the cli fails with a message stating the job was not found. However, I can use the cli to do a get-job and am able to find the job, and delete-job works as well. The job also shows up in the job list. Only seems to be an issue with disable-job and enable-job.

      Attached file shows output of the list-jobs showing the job is there and the disable-jobs and get-job commands for the particular job that is having an issue.

      It is preventing our jenkins nodes from converging via chef which is using the cli to interface with jenkins. I can reproduce the error via the command line which is what is shown in the attached file.

            Unassigned Unassigned
            mswyatt Michael Wyatt
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: