python-jenkins-developers team mailing list archive
-
python-jenkins-developers team
-
Mailing list archive
-
Message #00412
[Bug 1667290] Re: build job is not working: build_job method raises exception: NotFoundException('Requested item could not be found')
figured, there was something wrong with the params payload. (converted
into dict to debug)
"can we please have request data logged along with this error so user can get the clue what is wrong with it."
by the way, can close the issue
Thanks Team for open-sourcing the Great work :-)
--
You received this bug notification because you are a member of Python
Jenkins Developers, which is subscribed to Python Jenkins.
https://bugs.launchpad.net/bugs/1667290
Title:
build job is not working: build_job method raises exception:
NotFoundException('Requested item could not be found')
Status in Python Jenkins:
New
Bug description:
- python-jenkins (0.4.13)
- jenkins version: 2.46
no matter what I send, it fails with exception.
I tried job_name as just job name, base_url+job_name
```
j.build_job(job_name, {"param1":"value1"}, {'token': token})
```
stacktrace:
File '/my_code/release.py', line 444 in merge_code
}, {'token': token})
File '/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/jenkins/__init__.py', line 1051 in build_job
self.build_job_url(name, parameters, token), b''))
File '/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/jenkins/__init__.py', line 451 in jenkins_open
raise NotFoundException('Requested item could not be found')
NotFoundException: Requested item could not be found
any pointers so that I can debug it further
can we please have request data logged along with this error so can get the clue what is not with the request that it is not found
To manage notifications about this bug go to:
https://bugs.launchpad.net/python-jenkins/+bug/1667290/+subscriptions
References