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

job configured with conditional step to trigger another project reports error at end

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Labels:
      None
    • Environment:
      Jenkins Environment:
      -------------------------------
      CentOS-7
      openjdk-1.8
      Jenkins: 2.73.3

      Plugins Details:
      -------------------------
      Conditional BuildStep: 1.3.6
      Parameterized Trigger plugin:2.35.2
    • Similar Issues:

      Description

      When job configured with conditional step(single) with shell script to decide to trigger another job, it tries to execute same shell script after cleanup is done.
      Logs Attached.jenkins-error.txt

       

      I confirm that it is working in Parameterized Trigger Plugin version: 2.35.1

      Upgrading to 2.35.2 introduced this error whose changelog is also missing.

       

        Attachments

          Activity

          Hide
          michaelheine Michael Heine added a comment -

          I can confirm this issue for conditional steps (multiple), too.

          Jenkins version 2.89.4.

          Plugin version 1.3.6.

          Observation: The "Execute Shell" script in conditional steps (multiple) is executed correctly during the (main part) of the job (freestyle in this case). Once the job is done with the post build steps, the script from the conditional step is executed two more times (with different temporary script file names).

          Show
          michaelheine Michael Heine added a comment - I can confirm this issue for conditional steps (multiple) , too. Jenkins version 2.89.4. Plugin version 1.3.6. Observation: The "Execute Shell" script in conditional steps (multiple) is executed correctly during the (main part) of the job (freestyle in this case). Once the job is done with the post build steps, the script from the conditional step is executed two more times (with different temporary script file names).

            People

            • Assignee:
              domi Dominik Bartholdi
              Reporter:
              deepraut89 Deepak Raut
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: