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

"traits" stopped working in 2.6.0

    XMLWordPrintable

Details

    Description

      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.

       

       

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: