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

ERROR: Tag must follow the pattern

XMLWordPrintable

      After Updating the Jenkins plugins we are getting the below error.

      ERROR: Tag must follow the pattern '^:[a-zA-Z0-9_]([a-zA-Z0-9_.-])\{0,127}'
      	at hudson.util.FormValidation._errorWithMarkup(FormValidation.java:268)
      	at hudson.util.FormValidation.errorWithMarkup(FormValidation.java:254)
      	at hudson.util.FormValidation.error(FormValidation.java:145)
      	at hudson.util.FormValidation.error(FormValidation.java:170)
      	at org.jenkinsci.plugins.docker.commons.credentials.ImageNameValidator.validateTag(ImageNameValidator.java:244)
      	at org.jenkinsci.plugins.docker.commons.credentials.ImageNameValidator.validateUserAndRepo(ImageNameValidator.java:116)
      	at org.jenkinsci.plugins.docker.commons.credentials.DockerRegistryEndpoint.imageName(DockerRegistryEndpoint.java:317)
      	at jdk.internal.reflect.GeneratedMethodAccessor651.invoke(Unknown Source)
      	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:98)
      	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
      	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1225)
      	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1034)
      	at org.codehaus.groovy.runtime.callsite.PojoMetaClassSite.call(PojoMetaClassSite.java:46)
      	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
      	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
      	at com.cloudbees.groovy.cps.sandbox.DefaultInvoker.methodCall(DefaultInvoker.java:20)
      	at org.jenkinsci.plugins.docker.workflow.Docker$Image.toQualifiedImageName(Docker.groovy:117)
      	at org.jenkinsci.plugins.docker.workflow.Docker$Image.tag(Docker.groovy:177)
      	at org.jenkinsci.plugins.docker.workflow.Docker.node(Docker.groovy:66)
      	at org.jenkinsci.plugins.docker.workflow.Docker$Image.tag(Docker.groovy:176)
      	at org.jenkinsci.plugins.docker.workflow.Docker$Image.push(Docker.groovy:190)
      	at org.jenkinsci.plugins.docker.workflow.Docker.node(Docker.groovy:66)
      	at org.jenkinsci.plugins.docker.workflow.Docker$Image.push(Docker.groovy:187)
      	at org.jenkinsci.plugins.docker.workflow.Docker$Image.push(Docker.groovy)
      	at WorkflowScript.run(WorkflowScript:167)
      	at org.jenkinsci.plugins.docker.workflow.Docker.withRegistry(Docker.groovy:41)
      

            Unassigned Unassigned
            rameshar Ramesh Audireddy
            Votes:
            1 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated: