• 1.5.0

      https://issues.jenkins-ci.org/browse/JENKINS-48523  added support to the tag when condition with the comparator. 

      At the moment, the changeset when condition does support GLOB, but no REGEXP patterns. Let's standardize the changeset condition format as done with the tag condition.

      when {
          changeset "**/*.java"
      }
      when {
          changeset pattern: "**/*.java", comparator: "GLOB"
      } 
      when {
          changeset pattern: ".*\\.java", comparator: "REGEXP"
      } 

          [JENKINS-60217] When condition for Changeset with comparator

          Victor Martinez created issue -
          Victor Martinez made changes -
          Description Original: https://issues.jenkins-ci.org/browse/JENKINS-48523  added support to the tag when condition with the comparator. 

          At the moment, the branch when condition does support GLOB, but no REGEXP patterns. Let's standardize the branch condition format as done with the tag condition.
          {code:java}

          when {
              branch "release-*"
          }
          when {
              branch pattern: "release-*", comparator: "GLOB"
          }
          when {
              branch pattern: "release-\\d+", comparator: "REGEXP"
          } {code}
          New: https://issues.jenkins-ci.org/browse/JENKINS-48523  added support to the tag when condition with the comparator. 

          At the moment, the changeset when condition does support GLOB, but no REGEXP patterns. Let's standardize the changeset condition format as done with the tag condition.
          {code:java}
          when {
              changeset "**/*.java"
          }
          when {
              changeset pattern: "**/*.java", comparator: "GLOB"
          }
          when {
              changeset pattern: ".*\\.java", comparator: "REGEXP"
          } {code}
          Victor Martinez made changes -
          Released As Original: 1.4.0
          Victor Martinez made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Victor Martinez made changes -
          Remote Link New: This issue links to "PR (Web Link)" [ 24106 ]
          Victor Martinez made changes -
          Remote Link New: This issue links to "PR-DOCS (Web Link)" [ 24107 ]
          Victor Martinez made changes -
          Released As New: 1.5.0
          Jesse Glick made changes -
          Link New: This issue causes JENKINS-59785 [ JENKINS-59785 ]

            v2v Victor Martinez
            v2v Victor Martinez
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: