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
Component/s | New: core [ 15593 ] | |
Component/s | Original: cli [ 15624 ] | |
Component/s | Original: cloudbees-folder [ 18137 ] | |
Labels | New: cli folders |
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: In Progress [ 3 ] | New: Resolved [ 5 ] |
Workflow | Original: JNJira [ 151758 ] | New: JNJira + In-Review [ 194085 ] |
https://github.com/jenkinsci/jenkins/commit/d0c45040d6aafa22842e4c3ba7dac908f251522c