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

branchFilter option in gitParam DSL method

    Details

    • Similar Issues:

      Description

      Actual Job DSL plugin 1.63 does not have implemented branchFilter option method to filter branches from git repository when using Git Parameter plugin (as it does with tagFilter)

        Attachments

          Activity

          Hide
          daspilker Daniel Spilker added a comment -

          This is already supported by the Automatically Generated DSL:

          job(String name) {
            parameters {
              gitParameterDefinition {
                name(String value)
                type(String value)
                defaultValue(String value)
                description(String value)
                branch(String value)
                branchFilter(String value)
                tagFilter(String value)
                sortMode(String value)
                selectedValue(String value)
                useRepository(String value)
                quickFilterEnabled(Boolean value)
              }
            }
          }
          
          Show
          daspilker Daniel Spilker added a comment - This is already supported by the Automatically Generated DSL : job( String name) { parameters { gitParameterDefinition { name( String value) type( String value) defaultValue( String value) description( String value) branch( String value) branchFilter( String value) tagFilter( String value) sortMode( String value) selectedValue( String value) useRepository( String value) quickFilterEnabled( Boolean value) } } }

            People

            • Assignee:
              daspilker Daniel Spilker
              Reporter:
              xoue Guillermo Solla
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: