jenkinsapi icon indicating copy to clipboard operation
jenkinsapi copied to clipboard

Non-parametrized build fails

Open mliker opened this issue 12 years ago • 1 comments

Hi, in my environment we have no parameters for build but invoking such build from jenkinsapi always fails. Culprit seems to be top to bottom: in job.py:130-132 url for build is created which always results in .../buildWithParameters because job.has_params() returns True because len(self._data['actions']) > 0 because self._data['actions'] contains three empty dictionaries In [128]: job._data['actions'] Out[128]: [{}, {}, {}]

For now I patched job.py and commented out lines 130 and 132.

jenkinsapi version 0.2.19

mliker avatar Jul 11 '14 10:07 mliker

Can you try this with the latest Jenkins API - a fix was made to address this bug. I'm closing the issue for now, feel free to reopen if it's still an issue.

trebizondoculpepper avatar Jul 28 '14 22:07 trebizondoculpepper