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

CLI doesn't allow Folder config.xml to be returned

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • core

      Is it possible to access the Folder config.xml via the CLI using the get-job function? When I use the list-jobs function the result is a mix of jobs and folders. I can then re-issue list-jobs <folder> and the jobs inside the folder are listed. However, when I run get-job <folder> I get an error and "no such job `<folder>` exists" . I can run get-job <folder>/BuildProject1 and the result works. My goal is to manipulate the Folder config XMLs via CLI.

          [JENKINS-20236] CLI doesn't allow Folder config.xml to be returned

          Jesse Glick added a comment -

          Jesse Glick added a comment - https://github.com/jenkinsci/jenkins/commit/d0c45040d6aafa22842e4c3ba7dac908f251522c

            jglick Jesse Glick
            walterk82 Walter Kacynski
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: