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

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

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • Jenkins Environment:
      -------------------------------
      CentOS-7
      openjdk-1.8
      Jenkins: 2.73.3

      Plugins Details:
      -------------------------
      Conditional BuildStep: 1.3.6
      Parameterized Trigger plugin:2.35.2

      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.

       

          [JENKINS-48424] job configured with conditional step to trigger another project reports error at end

          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).

          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).

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

              Created:
              Updated: