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

Matrix job fails on git repos if node labels have special characters

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Postponed
    • Icon: Minor Minor
    • None
    • Jenkins ver. 1.480.1
      git plugin: 1.1.26

      I have nodes with labels such as "os:mac"

      When I configure a matrix job to run on all nodes with this label, it fails:

      I have nodes with labels such as "os:mac"

      When I configure a matrix job to run on all nodes with this label, it fails:

      Checkout:os:mac / /build/build-profile/label/os:mac - hudson.remoting.Channel@4e27c652:mac-holla
      Using strategy: Default
      Wiping out workspace first.
      Cloning the remote Git repository
      Cloning repository git@bhagit01:build/env
      git --version
      git version 1.7.12.3
      Fetching upstream changes from git@gitserver:build/env
      Commencing build of Revision b73dbc432a98a57d6b6daa73260c4e22386edeef (origin/master)
      Checking out Revision b73dbc432a98a57d6b6daa73260c4e22386edeef (origin/master)
      FATAL: Could not apply tag jenkins-label=os:mac-48
      hudson.plugins.git.GitException: Could not apply tag jenkins-label=os:mac-48
      	at hudson.plugins.git.GitAPI.tag(GitAPI.java:829)
      	at hudson.plugins.git.GitSCM$4.invoke(GitSCM.java:1270)
      	at hudson.plugins.git.GitSCM$4.invoke(GitSCM.java:1231)
      	at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2236)
      	at hudson.remoting.UserRequest.perform(UserRequest.java:118)
      	at hudson.remoting.UserRequest.perform(UserRequest.java:48)
      	at hudson.remoting.Request$2.run(Request.java:326)
      	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
      	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      	at java.lang.Thread.run(Thread.java:680)
      Caused by: hudson.plugins.git.GitException: Command "git tag -a -f -m Jenkins Build #48 jenkins-label=os:mac-48" returned status code 128:
      stdout: 
      stderr: fatal: 'jenkins-label=os:mac-48' is not a valid tag name.
      
      	at hudson.plugins.git.GitAPI.launchCommandIn(GitAPI.java:897)
      	at hudson.plugins.git.GitAPI.launchCommand(GitAPI.java:858)
      	at hudson.plugins.git.GitAPI.launchCommand(GitAPI.java:868)
      	at hudson.plugins.git.GitAPI.tag(GitAPI.java:827)
      	... 12 more
      
      

            ndeloof Nicolas De Loof
            filterz David Z
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: