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
          22 kB
          Leandro Conca
        2. timer-console-output.png
          25 kB
          Leandro Conca
        3. user-config.png
          23 kB
          Leandro Conca
        4. user-console-output.png
          16 kB
          Leandro Conca

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

              Created:
              Updated:
              Resolved: