-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
Manage Jenkins --> Restrict project naming --> Strategy: Pattern --> Name Pattern: <your regex>
When trying to save the configuration, the regex should be checked for correctness (e.g. matching parens)
Alternatively this could even be done in real time on the configuration page.
[Workaround: any regex errors will appear - and need to be fixed immediately - when you try to configure/create a job]
[JENKINS-13524] Validate project naming regex immediately
Assignee | New: sogabe [ sogabe ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Workflow | Original: JNJira [ 143990 ] | New: JNJira + In-Review [ 190846 ] |
Resolution | Original: Fixed [ 1 ] | |
Status | Original: Resolved [ 5 ] | New: Reopened [ 4 ] |
Code changed in jenkins
User: Seiji Sogabe
Path:
changelog.html
core/src/main/java/jenkins/model/ProjectNamingStrategy.java
core/src/main/resources/jenkins/model/Messages.properties
core/src/main/resources/jenkins/model/Messages_ja.properties
core/src/main/resources/jenkins/model/ProjectNamingStrategy/PatternProjectNamingStrategy/config.groovy
http://jenkins-ci.org/commit/jenkins/5587d13f58b14bffa9f77f7433358e14add9bcfa
Log:
[FIXED JENKINS-13524] Validate project naming regex immediately