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

Conditional step is not being executed by UserCause

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      When a conditional step is created on a job with the conditional being Build Cause (UserCause), the step is not executed even if the build was triggered manually by a User.

      Steps to reproduce:

      • Create a new freestyle job
      • Add a conditional step with Build Cause (UserCause) to performe some action (echo something with batch for example)
      • Trigger the build manually.

      The step is not executed.

      The attachments show the job configuration and actual console output and a similar job with another Build Cause (TimerTrigger) showing the step working.

      I am not sure if this problem is related to the conditional-buildstep plugin or run-condition, so I added both in the issue.

        Attachments

        1. timer-config.png
          timer-config.png
          22 kB
        2. timer-console-output.png
          timer-console-output.png
          25 kB
        3. user-config.png
          user-config.png
          23 kB
        4. user-console-output.png
          user-console-output.png
          16 kB

          Activity

          lluccia Leandro Conca created issue -
          domi Dominik Bartholdi made changes -
          Field Original Value New Value
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 144321 ] JNJira + In-Review [ 191029 ]

            People

            Assignee:
            domi Dominik Bartholdi
            Reporter:
            lluccia Leandro Conca
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: