Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-13524

Validate project naming regex immediately

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: core
    • Labels:
      None
    • Similar Issues:

      Description

      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]

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          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

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - 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
          Hide
          dogfood dogfood added a comment -

          Integrated in jenkins_main_trunk #1668
          [FIXED JENKINS-13524] Validate project naming regex immediately (Revision 5587d13f58b14bffa9f77f7433358e14add9bcfa)

          Result = SUCCESS
          Seiji Sogabe : 5587d13f58b14bffa9f77f7433358e14add9bcfa
          Files :

          • core/src/main/resources/jenkins/model/ProjectNamingStrategy/PatternProjectNamingStrategy/config.groovy
          • core/src/main/resources/jenkins/model/Messages_ja.properties
          • core/src/main/resources/jenkins/model/Messages.properties
          • core/src/main/java/jenkins/model/ProjectNamingStrategy.java
          • changelog.html
          Show
          dogfood dogfood added a comment - Integrated in jenkins_main_trunk #1668 [FIXED JENKINS-13524] Validate project naming regex immediately (Revision 5587d13f58b14bffa9f77f7433358e14add9bcfa) Result = SUCCESS Seiji Sogabe : 5587d13f58b14bffa9f77f7433358e14add9bcfa Files : core/src/main/resources/jenkins/model/ProjectNamingStrategy/PatternProjectNamingStrategy/config.groovy core/src/main/resources/jenkins/model/Messages_ja.properties core/src/main/resources/jenkins/model/Messages.properties core/src/main/java/jenkins/model/ProjectNamingStrategy.java changelog.html
          Hide
          dogfood dogfood added a comment -

          Integrated in jenkins_ui-changes_branch #26
          [FIXED JENKINS-13524] Validate project naming regex immediately (Revision 5587d13f58b14bffa9f77f7433358e14add9bcfa)

          Result = SUCCESS
          Seiji Sogabe : 5587d13f58b14bffa9f77f7433358e14add9bcfa
          Files :

          • changelog.html
          • core/src/main/resources/jenkins/model/ProjectNamingStrategy/PatternProjectNamingStrategy/config.groovy
          • core/src/main/resources/jenkins/model/Messages_ja.properties
          • core/src/main/java/jenkins/model/ProjectNamingStrategy.java
          • core/src/main/resources/jenkins/model/Messages.properties
          Show
          dogfood dogfood added a comment - Integrated in jenkins_ui-changes_branch #26 [FIXED JENKINS-13524] Validate project naming regex immediately (Revision 5587d13f58b14bffa9f77f7433358e14add9bcfa) Result = SUCCESS Seiji Sogabe : 5587d13f58b14bffa9f77f7433358e14add9bcfa Files : changelog.html core/src/main/resources/jenkins/model/ProjectNamingStrategy/PatternProjectNamingStrategy/config.groovy core/src/main/resources/jenkins/model/Messages_ja.properties core/src/main/java/jenkins/model/ProjectNamingStrategy.java core/src/main/resources/jenkins/model/Messages.properties

            People

            • Assignee:
              sogabe sogabe
              Reporter:
              bgolding Ben Golding
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: