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)

          [JENKINS-44452] branchFilter option in gitParam DSL method

          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)
              }
            }
          }
          

          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) } } }

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

              Created:
              Updated:
              Resolved: