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

Jenkins considers build as success even if tower plugin fails

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • ansible-tower-plugin
    • Jenkins 2.138.3
      Ansible tower plugin 0.9.1

      While using the stage for ansible tower plugin in my build pipeline, the job result is always a success, irrespective of the tower results.

      Is it the expected behavior? If not please let me know if it will be fixed in future releases.

          [JENKINS-55028] Jenkins considers build as success even if tower plugin fails

          Hi!

          Have you tried to add

          throwExceptionWhenFail: true
          

          to the ansibleTower step? Actually it should be true when nothing is specified.

          Lukas Tischler added a comment - Hi! Have you tried to add throwExceptionWhenFail: true to the ansibleTower step? Actually it should be true when nothing is specified.

          Piyush Jain added a comment -

          Thanks for the info, it worked.

          Piyush Jain added a comment - Thanks for the info, it worked.

            pijain Piyush Jain
            pijain Piyush Jain
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: