Unfortunately with bitbucket-branch-source-plugin: 2.6.0 I can not make use of "traits" with job-dsl + configuration-as-code.

       

      I used to be able to do the following:

      organizationFolder('foo') {
              displayName('Foobar')
      
              organizations {
                bitbucket {
                  serverUrl('https://stash.foobar.com')
                  repoOwner('foo')
                  credentialsId('stash-token')
      
                  traits {
                    sourceWildcardFilter {
                      includes('sample-project')
                      excludes('')
                    }
                  }
                }
              }
      

      But now its not supported anymore. Also clearly visible via the api-viewer that that option is now missing.

      Downgrading bitbucket-branch-source-plugin to 2.5.0 fixes the issue. So definitely a regression happening.

       

       

          [JENKINS-60155] "traits" stopped working in 2.6.0

          Günter Grodotzki created issue -
          Günter Grodotzki made changes -
          Component/s New: structs-plugin [ 21442 ]
          Günter Grodotzki made changes -
          Component/s Original: configuration-as-code-plugin [ 23170 ]
          Component/s Original: job-dsl-plugin [ 16720 ]
          Jesse Glick made changes -
          Link New: This issue relates to JENKINS-26535 [ JENKINS-26535 ]
          Günter Grodotzki made changes -
          Link New: This issue is blocked by JENKINS-26535 [ JENKINS-26535 ]
          Günter Grodotzki made changes -
          Labels New: regression
          Joseph Petersen (old) made changes -
          Assignee Original: Ewelina Wilkosz [ ewel ] New: Joseph Petersen (old) [ casz ]
          Joseph Petersen (old) made changes -
          Released As New: https://github.com/jenkinsci/bitbucket-branch-source-plugin/releases/tag/cloudbees-bitbucket-branch-source-2.7.0
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Joseph Petersen (old) made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          Joseph Petersen (old) made changes -
          Remote Link New: This issue links to "bitbucket-branch-source-plugin #278 (Web Link)" [ 24351 ]
          Joseph Petersen made changes -
          Assignee Original: Joseph Petersen (old) [ casz ] New: Joseph Petersen [ jetersen ]

            jetersen Joseph Petersen
            lifeofguenter Günter Grodotzki
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: