Open omerfarukdogan opened 4 years ago
Bug Report
0.3.9
2.176.3
Multibranch Pipeline jobs cannot be reached using jenkinsapi. I have a multibranch pipeline job. I want to access this job via jenkinsapi.
jenkinsapi
jenkins.get_job("JOB_NAME")
I expect to be able to reach the job, edit its config, etc.
The line above raises UnknownJob error.
UnknownJob
I can access each individual branch, but it is no use since I want to edit the main job's config.
jenkins.get_job("JOB_NAME/master") # successful
you may want to try https://api4jenkins.readthedocs.io/en/latest/index.html
ISSUE TYPE
Bug Report
Jenkinsapi VERSION
0.3.9
Jenkins VERSION
2.176.3
SUMMARY
Multibranch Pipeline jobs cannot be reached using
jenkinsapi
. I have a multibranch pipeline job. I want to access this job viajenkinsapi
.EXPECTED RESULTS
I expect to be able to reach the job, edit its config, etc.
ACTUAL RESULTS
The line above raises
UnknownJob
error.I can access each individual branch, but it is no use since I want to edit the main job's config.