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

            lifeofguenter Günter Grodotzki created issue -
            lifeofguenter Günter Grodotzki made changes -
            Field Original Value New Value
            Component/s structs-plugin [ 21442 ]
            lifeofguenter Günter Grodotzki made changes -
            Component/s configuration-as-code-plugin [ 23170 ]
            Component/s job-dsl-plugin [ 16720 ]
            jglick Jesse Glick made changes -
            Link This issue relates to JENKINS-26535 [ JENKINS-26535 ]
            lifeofguenter Günter Grodotzki made changes -
            Link This issue is blocked by JENKINS-26535 [ JENKINS-26535 ]
            lifeofguenter Günter Grodotzki made changes -
            Labels regression
            casz Joseph Petersen (old) made changes -
            Assignee Ewelina Wilkosz [ ewel ] Joseph Petersen [ casz ]
            casz Joseph Petersen (old) made changes -
            casz Joseph Petersen (old) made changes -
            Status Resolved [ 5 ] Closed [ 6 ]
            casz Joseph Petersen (old) made changes -
            Remote Link This issue links to "bitbucket-branch-source-plugin #278 (Web Link)" [ 24351 ]
            jetersen Joseph Petersen made changes -
            Assignee Joseph Petersen (old) [ casz ] Joseph Petersen [ jetersen ]

            People

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

              Dates

                Created:
                Updated:
                Resolved: