Specify true/false values for boolean parameter

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      We need to parameterize our builds so that the user can specify whether to refresh-dependencies or not, which in gradle-parlor translates to the optional "--refresh-dependencies" parameters.

      It would be really nice if you could specify true/false values for a boolean parameter. We would then create a parameter with true-value set to "--refresh-dependencies" and false-value set to "", and then just use $gradleRefreshDependencies when invoking the gradle script.

      Our current workaround is to create a text parameter with the description "Please add --refresh-dependencies" to refresh dependencies. This is simple enough, of course, but the use case is ideal for boolean parameters.

            Assignee:
            Unassigned
            Reporter:
            elygre
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: