You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Content-Length: 69
Content-Type: application/json
Date: Wed, 20 May 2020 13:46:54 GMT
Server: Jetty(9.4.27.v20200227)
X-Content-Type-Options: nosniff
{"result":"ERROR","message":"Job 'thejob' is not defined in Jenkins"}
Description
This seems similar to my original issue in #8, but more recently #36 as I first had the issue with the job in a folder (thefolder/thejob), so I recreated it at root, without a folder, and it is listed with the standard Jenkins API. It may be related to #22 as this is a multibranch pipeline.
Branch discovery works normally in the Jenkins UI. When I use the same format to test a non-multibranch job (the test job), it works normally, hence the link to #22. Such normal jobs also work in folders (calling ?job=thefolder/test)
Same error when trying the hook on ?job=thejob/master, although it works with other branches beyond master, as described near the end of #8.
The text was updated successfully, but these errors were encountered:
I /think/ I found what's happening: apparently, if a branch does not contain a Jenkinsfile it is marked as not found, which may or may not be desired, but should probably be documented.
Description
This seems similar to my original issue in #8, but more recently #36 as I first had the issue with the job in a folder (thefolder/thejob), so I recreated it at root, without a folder, and it is listed with the standard Jenkins API. It may be related to #22 as this is a multibranch pipeline.
Branch discovery works normally in the Jenkins UI. When I use the same format to test a non-multibranch job (the
test
job), it works normally, hence the link to #22. Such normal jobs also work in folders (calling?job=thefolder/test
)Same error when trying the hook on
?job=thejob/master
, although it works with other branches beyond master, as described near the end of #8.The text was updated successfully, but these errors were encountered: