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

Use defaultTag when non-interactive

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • Jenkins 2.401, Image Tag Parameter plugin 2.0, Ubuntu 22.04

      When a parameterized Jenkins Pipeline with an Image Tag Parameter is started by a trigger (e.g. cron), and thus cannot request an interactive user to select an image tag, it would be nice, if the Image Tag Parameter plugin would fall back to selecting the configured defaultTag. Or if no defaultTag is configured, fall back to selecting the newest tag. (Maybe consider an option for choosing a fall back strategy)

      Right now, the plugin selects nothing in that case, i.e. the image tag parameter value becomes blank. So the pipeline works only when started interactively.

            maduma Stéphane Nsakala
            macwe_sdfi Mac
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: