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

Job launching parameterized build on other project fails

    Details

    • Similar Issues:

      Description

      I have a Jenkins job trgigering a parameterized build of other job.Since I have update to Jenkins version 2.165 from version 2.157 I see the build fails with the error below.

      The parameters for this job are read from a property file set as:

      ${TEMP}\${BUILD_TIMESTAMP}.prop

      in the field "Use properties from file"

      If I click on the help for this field it is written:

      "Comma seperated list of absolute or relative paths to file(s) that contains the parameters for the new project."

      So absolute paths should be still allowed.
      14:10:45 Run condition [Strings match] enabling perform for step [Trigger/call builds on other projects]14:10:45 ERROR: Build step failed with exception*14:10:45* java.lang.IllegalArgumentException: Only a relative path is supported, the given path is absolute: C:/Users/GENERI~2/AppData/Local/Temp/20190226134358.prop/14:10:45 at hudson.FilePath$IsDescendant.invoke(FilePath.java:3261)14:10:45 at hudson.FilePath$IsDescendant.invoke(FilePath.java:3250)14:10:45 at hudson.FilePath.act(FilePath.java:1074)14:10:45 at hudson.FilePath.act(FilePath.java:1057)14:10:45 at hudson.FilePath.isDescendant(FilePath.java:3247)14:10:45 at jenkins.util.VirtualFile$FileVF.isDescendant(VirtualFile.java:598)14:10:45 at jenkins.util.VirtualFile$FileVF.isIllegalSymlink(VirtualFile.java:549)14:10:45 at jenkins.util.VirtualFile$FileVF.isFile(VirtualFile.java:448)14:10:45 at hudson.plugins.parameterizedtrigger.FileBuildParameters.extractAllValues(FileBuildParameters.java:124)14:10:45 at hudson.plugins.parameterizedtrigger.FileBuildParameters.getAction(FileBuildParameters.java:112)14:10:45 at hudson.plugins.parameterizedtrigger.BuildTriggerConfig.getBaseActions(BuildTriggerConfig.java:356)14:10:45 at hudson.plugins.parameterizedtrigger.BuildTriggerConfig.perform3(BuildTriggerConfig.java:459)14:10:45 at hudson.plugins.parameterizedtrigger.BlockableBuildTriggerConfig.perform3(BlockableBuildTriggerConfig.java:67)14:10:45 at hudson.plugins.parameterizedtrigger.TriggerBuilder.perform(TriggerBuilder.java:93)14:10:45 at org.jenkins_ci.plugins.run_condition.BuildStepRunner$2.run(BuildStepRunner.java:110)14:10:45 at org.jenkins_ci.plugins.run_condition.BuildStepRunner$DontRun.conditionalRun(BuildStepRunner.java:264)14:10:45 at org.jenkins_ci.plugins.run_condition.BuildStepRunner.perform(BuildStepRunner.java:105)14:10:45 at org.jenkinsci.plugins.conditionalbuildstep.singlestep.SingleConditionalBuilder.perform(SingleConditionalBuilder.java:108)14:10:45 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)14:10:45 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:744)14:10:45 at hudson.model.Build$BuildExecution.build(Build.java:206)14:10:45 at hudson.model.Build$BuildExecution.doRun(Build.java:163)14:10:45 at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:504)14:10:45 at hudson.model.Run.execute(Run.java:1816)14:10:45 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)14:10:45 at hudson.model.ResourceController.execute(ResourceController.java:97)14:10:45 at hudson.model.Executor.run(Executor.java:429)14:10:45 Build step 'Conditional step (single)' marked build as failure

        Attachments

          Activity

          Hide
          teognost Adi Adrian added a comment -

          I checked different Jenkins versions and this problem appeared in versionĀ 2.164.

          Version 2.163 does not have this issue.

          Show
          teognost Adi Adrian added a comment - I checked different Jenkins versions and this problem appeared in versionĀ 2.164. Version 2.163 does not have this issue.
          Hide
          tomw2245 Tom Weeks added a comment -

          can reproduce on 2.167

          Show
          tomw2245 Tom Weeks added a comment - can reproduce on 2.167

            People

            • Assignee:
              Unassigned
              Reporter:
              teognost Adi Adrian
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: