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

Allow regular expressions as tags

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      I tried to use parantheses '(', ')' when searching for open tasks with the Task Scanner Plugin (v4.35). I need the parantheses to group my regex and to apply * operator. For example, I want to search for "TODO([A-Za-z0-9])*. This delivers zero reults, also I have TODOs matching this regex. My actual regex is more complicated, so I definitely need parantheses to group it, this is just a simple example.
      If I escape the parantheses, I get hundreds of thousands of results. So this can't be the correct approach. How can I get grouping and using * in my regex to work?

        Attachments

          Issue Links

            Activity

            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Ulli Hafner
            Path:
            pom.xml
            src/main/java/org/jenkinsci/test/acceptance/plugins/tasks/AbstractTaskScannerBuildSettings.java
            src/test/java/plugins/CheckstylePluginTest.java
            src/test/java/plugins/TaskScannerPluginTest.java
            src/test/resources/tasks_plugin/regexp/pom.xml
            src/test/resources/tasks_plugin/regexp/regexp.txt
            http://jenkins-ci.org/commit/acceptance-test-harness/0d9bb7cd3fe6794e89eb4ca6671b5fd715d177e7
            Log:
            JENKINS-17225 Added test cases that show that the regexp tags feature works.

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Ulli Hafner Path: pom.xml src/main/java/org/jenkinsci/test/acceptance/plugins/tasks/AbstractTaskScannerBuildSettings.java src/test/java/plugins/CheckstylePluginTest.java src/test/java/plugins/TaskScannerPluginTest.java src/test/resources/tasks_plugin/regexp/pom.xml src/test/resources/tasks_plugin/regexp/regexp.txt http://jenkins-ci.org/commit/acceptance-test-harness/0d9bb7cd3fe6794e89eb4ca6671b5fd715d177e7 Log: JENKINS-17225 Added test cases that show that the regexp tags feature works.
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Ulli Hafner
            Path:
            analysis-core
            tasks
            warnings
            http://jenkins-ci.org/commit/analysis-suite-plugin/97e522828f8a24ad80b5520304b1659c2eda5803
            Log:
            JENKINS-17225 Provide a field to validate the task tags definition.

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Ulli Hafner Path: analysis-core tasks warnings http://jenkins-ci.org/commit/analysis-suite-plugin/97e522828f8a24ad80b5520304b1659c2eda5803 Log: JENKINS-17225 Provide a field to validate the task tags definition.
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Ulli Hafner
            Path:
            analysis-core.iml
            http://jenkins-ci.org/commit/analysis-core-plugin/b64516f9da46ffdd99018a6ba5c0e89a2a4ead0c
            Log:
            JENKINS-17225 Provide a field to validate the task tags definition.

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Ulli Hafner Path: analysis-core.iml http://jenkins-ci.org/commit/analysis-core-plugin/b64516f9da46ffdd99018a6ba5c0e89a2a4ead0c Log: JENKINS-17225 Provide a field to validate the task tags definition.
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Ulli Hafner
            Path:
            src/main/java/hudson/plugins/tasks/TasksDescriptor.java
            src/main/java/hudson/plugins/tasks/parser/TaskScanner.java
            src/main/resources/hudson/plugins/tasks/Messages.properties
            src/main/resources/hudson/plugins/tasks/Messages_de.properties
            src/main/resources/hudson/plugins/tasks/TasksPublisher/config.jelly
            src/main/resources/hudson/plugins/tasks/config/tasks.jelly
            src/main/resources/hudson/plugins/tasks/config/tasks.properties
            src/main/resources/hudson/plugins/tasks/config/tasks_de.properties
            http://jenkins-ci.org/commit/tasks-plugin/95eed9adb9b382c8a73fb4842709e7eb343bd201
            Log:
            JENKINS-17225 Provide a field to validate the task tags definition.

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Ulli Hafner Path: src/main/java/hudson/plugins/tasks/TasksDescriptor.java src/main/java/hudson/plugins/tasks/parser/TaskScanner.java src/main/resources/hudson/plugins/tasks/Messages.properties src/main/resources/hudson/plugins/tasks/Messages_de.properties src/main/resources/hudson/plugins/tasks/TasksPublisher/config.jelly src/main/resources/hudson/plugins/tasks/config/tasks.jelly src/main/resources/hudson/plugins/tasks/config/tasks.properties src/main/resources/hudson/plugins/tasks/config/tasks_de.properties http://jenkins-ci.org/commit/tasks-plugin/95eed9adb9b382c8a73fb4842709e7eb343bd201 Log: JENKINS-17225 Provide a field to validate the task tags definition.
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Ulli Hafner
            Path:
            warnings.iml
            http://jenkins-ci.org/commit/warnings-plugin/d9ba0beab9c46a92ecd5a7400c7d88f90902fa53
            Log:
            JENKINS-17225 Provide a field to validate the task tags definition.

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Ulli Hafner Path: warnings.iml http://jenkins-ci.org/commit/warnings-plugin/d9ba0beab9c46a92ecd5a7400c7d88f90902fa53 Log: JENKINS-17225 Provide a field to validate the task tags definition.

              People

              • Assignee:
                drulli Ulli Hafner
                Reporter:
                fep2k Fabian Pachner
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: