-
Bug
-
Resolution: Duplicate
-
Major
-
Jenkins 1.528
Upgraded to Jenkins 1.528. Since we upgraded the job configuration page stays in loading state (because of a javascript exception):
Uncaught SyntaxError: Invalid flags supplied to RegExp constructor 'sonar'
(anonymous function)
e.targetUrl hudson-behavior.js:416
registerValidator hudson-behavior.js:428
(anonymous function) behavior.js:111
(anonymous function) behavior.js:107
Behaviour.applySubtree behavior.js:93
Behaviour.apply behavior.js:76
(anonymous function) behavior.js:71
window.onload behavior.js:125
The URL path for this exception is /job/sonar-analyse/configure. We have this issue on all jobs.
- is related to
-
JENKINS-19248 regression: Upgrading to 1.528 ("Upgrade Automatically") breaks "configure"
-
- Resolved
-
I am experiencing the same after upgrading. It is because of the hyphen in the project name.
I think I've tracked it down to this URI:
'/view/enterprise/job/my-project-name-with-hypens/descriptorByName/jenkins.plugins.publish_over_ssh.BapSshTransfer/checkExecCommand'
It should probably be this instead:
'/view/enterprise/job/' + encodeURIComponent('my-project-name-with-hypens') + '/descriptorByName/jenkins.plugins.publish_over_ssh.BapSshTransfer/checkExecCommand'