[JIRA] (JENKINS-58062) We can't set next build number in version 2.176.1 and newer anymore
Title: Message Title xzy zyl updated an issue Jenkins / JENKINS-58062 We can't set next build number in version 2.176.1 and newer anymore Change By: xzy zyl We could set the next build number in version 2.164.1 but after we upgraded jenkins to 2.176.1, we failed to do that and got an error:```bashTraceback (most recent call last):Traceback (most recent call last): File "C:\Users\Administrator\AppData\Local\Programs\Python\Python36\lib\site-packages\jenkins__init__.py", line 583, in jenkins_request self._request(req)) File "C:\Users\Administrator\AppData\Local\Programs\Python\Python36\lib\site-packages\jenkins__init__.py", line 533, in _response_handler response.raise_for_status() File "C:\Users\Administrator\AppData\Local\Programs\Python\Python36\lib\site-packages\requests\models.py", line 941, in raise_for_status raise HTTPError(http_error_msg, response=self)requests.exceptions.HTTPError: 500 Server Error: Server Error for url: [http://x.x.x.x:8080/job/dc_demo_web/nextbuildnumber/submit|http://10.5.1.126:8080/job/dc_demo_web/nextbuildnumber/submit] During handling of the above exception, another exception occurred: Traceback (most recent call last): File "F:/Projects/mylabs/test_Jenkins.py", line 27, in res = server.set_next_build_number(job_name, 233) File "C:\Users\Administrator\AppData\Local\Programs\Python\Python36\lib\site-packages\jenkins__init__.py", line 1150, in set_next_build_number data="" % number).encode('utf-8'))) File "C:\Users\Administrator\AppData\Local\Programs\Python\Python36\lib\site-packages\jenkins__init__.py", line 564, in jenkins_open return self.jenkins_request(req, add_crumb, resolve_auth).text File "C:\Users\Administrator\AppData\Local\Programs\Python\Python36\lib\site-packages\jenkins__init__.py", line 594, in jenkins_request raise JenkinsException(msg)jenkins.JenkinsException: Error in request. Possibly authentication failed [500]: Server Error Jenkins [Jenkins]var isRunAsTest=false; var rootURL=""; var resURL="/static/244807d3";crumb.init("Jenkins-Crumb", "083afa1f887c5c490ac1b7fa94cd6681");Skip to content log in createSearchBox("/search/");Jenkins Jenkins project Bug tracker Mailing Lists Twitter: @jenkinsci Oops!A problem occurred while processing the request. Please check our bug tracker to see if a similar problem has already been reported. If it is already reported, please vote and put a comment on it to let us gauge the impact of the problem. If you think this is a new issue, please file a new issue. When you file an issue, make sure to add the entire stack trace, along with the version of Jenkins and relevant plugins. The users list might be also useful in understanding what has happened.Stack tracejava.lang.NumberFormatException: null at java.lang.Integer.parseInt(Integer.java:542) at java.lang.Integer.parseInt(Integer.java:615) at org.jvnet.hudson.plugins.nextbuildnumber.NextBuildNumberAction.doSubmit(NextBuildNumberAction.java:96)Caused: javax.servlet.ServletException: Build n
[JIRA] (JENKINS-58062) We can't set next build number in version 2.176.1 and newer anymore
Title: Message Title xzy zyl updated an issue Jenkins / JENKINS-58062 We can't set next build number in version 2.176.1 and newer anymore Change By: xzy zyl We could set the next build number in version 2.164.1 but after we upgraded jenkins to 2.176.1, we failed to do that and got an error:```bashTraceback (most recent call last):Traceback (most recent call last): File "C:\Users\Administrator\AppData\Local\Programs\Python\Python36\lib\site-packages\ jenkins\__init__ jenkins__init__ .py", line 583, in jenkins_request self._request(req)) File "C:\Users\Administrator\AppData\Local\Programs\Python\Python36\lib\site-packages\ jenkins\__init__ jenkins__init__ .py", line 533, in _response_handler response.raise_for_status() File "C:\Users\Administrator\AppData\Local\Programs\Python\Python36\lib\site-packages\requests\models.py", line 941, in raise_for_status raise HTTPError(http_error_msg, response=self)requests.exceptions.HTTPError: 500 Server Error: Server Error for url: [ http:// x.x.x.x:8080/job/dc_demo_web/nextbuildnumber/submit|http:// 10.5.1.126:8080/job/dc_demo_web/nextbuildnumber/submit ] During handling of the above exception, another exception occurred:Traceback (most recent call last): File "F:/Projects/mylabs/test_Jenkins.py", line 27, in res = server.set_next_build_number(job_name, 233) File "C:\Users\Administrator\AppData\Local\Programs\Python\Python36\lib\site-packages\ jenkins\__init__ jenkins__init__ .py", line 1150, in set_next_build_number data="" % number).encode('utf-8'))) File "C:\Users\Administrator\AppData\Local\Programs\Python\Python36\lib\site-packages\ jenkins\__init__ jenkins__init__ .py", line 564, in jenkins_open return self.jenkins_request(req, add_crumb, resolve_auth).text File "C:\Users\Administrator\AppData\Local\Programs\Python\Python36\lib\site-packages\ jenkins\__init__ jenkins__init__ .py", line 594, in jenkins_request raise JenkinsException(msg)jenkins.JenkinsException: Error in request. Possibly authentication failed [500]: Server Error Jenkins [Jenkins]var isRunAsTest=false; var rootURL=""; var resURL="/static/244807d3";crumb.init("Jenkins-Crumb", "083afa1f887c5c490ac1b7fa94cd6681");Skip to content log in createSearchBox("/search/");Jenkins Jenkins project Bug tracker Mailing Lists Twitter: @jenkinsci Oops!A problem occurred while processing the request. Please check our bug tracker to see if a similar problem has already been reported. If it is already reported, please vote and put a comment on it to let us gauge the impact of the problem. If you think this is a new issue, please file a new issue. When you file an issue, make sure to add the entire stack trace, along with the version of Jenkins and relevant plugins. The users list might be also useful in understanding what has happened.Stack tracejava.lang.NumberFormatException: null at java.lang.Integer.parseInt(Integer.java:542) at java.lang.Integer.parseInt(Integer.java:615) at org.jvnet.hudson.plugins.nextbuildnumber.NextBui
[JIRA] (JENKINS-58062) We can't set next build number in version 2.176.1 and newer anymore
Title: Message Title xzy zyl created an issue Jenkins / JENKINS-58062 We can't set next build number in version 2.176.1 and newer anymore Issue Type: Bug Assignee: Alexander Komarov Components: next-build-number-plugin Created: 2019-06-18 02:22 Environment: Jenkins 2.176.1 Next Build Number Plugin: 1.5 Labels: plugin jenkins Priority: Major Reporter: xzy zyl We could set the next build number in version 2.164.1 but after we upgraded jenkins to 2.176.1, we failed to do that and got an error: ```bash Traceback (most recent call last):Traceback (most recent call last): File "C:\Users\Administrator\AppData\Local\Programs\Python\Python36\lib\site-packages\jenkins_init.py", line 583, in jenkins_request self._request(req)) File "C:\Users\Administrator\AppData\Local\Programs\Python\Python36\lib\site-packages\jenkins__init_.py", line 533, in _response_handler response.raise_for_status() File "C:\Users\Administrator\AppData\Local\Programs\Python\Python36\lib\site-packages\requests\models.py", line 941, in raise_for_status raise HTTPError(http_error_msg, response=self)requests.exceptions.HTTPError: 500 Server Error: Server Error for url: http://10.5.1.126:8080/job/dc_demo_web/nextbuildnumber/submit During handling of the above exception, another exception occurred: Traceback (most recent call last): File "F:/Projects/mylabs/test_Jenkins.py", line 27, in res = server.set_next_build_number(job_name, 233) File "C:\Users\Administrator\AppData\Local\Programs\Python\Python36\lib\site-packages\jenkins_init.py", line 1150, in set_next_build_number data="" % nu