withDockerRegistry([...]) syntax no longer accepted

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

XMLWordPrintable

      abayer's JENKINS-29711 allowed a parameter name to be omitted where there was a single parameter taking a nested structure and there were no other parameters. withDockerRegistry took advantage of this to allow the registry: to be elided. After JENKINS-38018 introduced an (optional) toolName parameter, this syntax stopped working; DSL silently omitted the registry parameter—and silently ignored the url and/or credentialsId parameters! Worse, Snippetizer offers the broken syntax when toolName is unset.

            Assignee:
            Jesse Glick
            Reporter:
            Jesse Glick
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: