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

Conditional step is not being executed by UserCause

XMLWordPrintable

      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.

        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

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

              Created:
              Updated:
              Resolved: