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

Environment script fails with job name shorter than 3 characters

    Details

    • Similar Issues:

      Description

      Checking out Revision 50ac39d85f0e9904f35306bb67dc9df1c84ad684 (origin/demo14)
      > git config core.sparsecheckout # timeout=10
      > git checkout -f 50ac39d85f0e9904f35306bb67dc9df1c84ad684
      > git rev-list 50ac39d85f0e9904f35306bb67dc9df1c84ad684 # timeout=10
      FATAL: Prefix string too short
      java.lang.IllegalArgumentException: Prefix string too short
      at java.io.File.createTempFile(File.java:1978)
      at hudson.FilePath$17.invoke(FilePath.java:1357)
      at hudson.FilePath$17.invoke(FilePath.java:1347)
      at hudson.FilePath.act(FilePath.java:981)
      at hudson.FilePath.act(FilePath.java:959)
      at hudson.FilePath.createTextTempFile(FilePath.java:1347)
      at com.lookout.jenkins.EnvironmentScript.generateEnvironment(EnvironmentScript.java:104)
      at com.lookout.jenkins.EnvironmentScript.setUp(EnvironmentScript.java:93)
      at hudson.model.Build$BuildExecution.doRun(Build.java:154)
      at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:533)
      at hudson.model.Run.execute(Run.java:1759)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      at hudson.model.ResourceController.execute(ResourceController.java:89)
      at hudson.model.Executor.run(Executor.java:240)

      Can be worked aroung by renaming the job name to be at least 3 characters.

        Attachments

          Activity

            People

            • Assignee:
              dawidmalina Dawid Malinowski
              Reporter:
              gyuszi Gyorgy Abraham
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: