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

triggered parameterized run even though a parameter is not set. first it complains that is isn't set and isn't able to trigger it, then it triggers it.

      [parameterizedtrigger] Could not trigger downstream project, as properties fileimagename.txt did not exist.
      11:08:14 Waiting for the completion of run_full_smoke
      11:20:48 run_full_smoke #709 completed. Result was ABORTED
      11:20:48 Build step 'Trigger/call builds on other projects' marked build as failure

      the file imagename.txt is missing because my build failed. I don't want this to get triggered in the case when the build fails.

          [JENKINS-13362] triggered parameterized run even though a parameter is not set. first it complains that is isn't set and isn't able to trigger it, then it triggers it.

          cjo9900 added a comment -

          The problem here is that the builds are always triggered by the build step, regardless of if there are parameters for it.
          The message is written to the log by the FileBuildParameter item which should just be indicating that the file does not exist.
          and the build step should handle the case when there are no parameters to pass.

          cjo9900 added a comment - The problem here is that the builds are always triggered by the build step, regardless of if there are parameters for it. The message is written to the log by the FileBuildParameter item which should just be indicating that the file does not exist. and the build step should handle the case when there are no parameters to pass.

          ikedam added a comment -

          I think it is a sound behavior to say error without a specified file.

          How about using conditional-buildstep plugin or flexible-publish plugin?
          https://wiki.jenkins-ci.org/display/JENKINS/Conditional+BuildStep+Plugin
          https://wiki.jenkins-ci.org/display/JENKINS/Flexible+Publish+Plugin

          ikedam added a comment - I think it is a sound behavior to say error without a specified file. How about using conditional-buildstep plugin or flexible-publish plugin? https://wiki.jenkins-ci.org/display/JENKINS/Conditional+BuildStep+Plugin https://wiki.jenkins-ci.org/display/JENKINS/Flexible+Publish+Plugin

            huybrechts huybrechts
            mcote marlene cote
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: