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

able to have report result on build aborted or failed

    • Icon: New Feature New Feature
    • Resolution: Won't Do
    • Icon: Minor Minor
    • robot-plugin
    • jenkins pipeline

      It could be interesting to have an option to log robot report even if the general build is failed or aborted

          [JENKINS-73707] able to have report result on build aborted or failed

          Aleksi Simell added a comment - - edited

          Hi adrien_force,

          This isn't really related to the plugin behaviour in itself. This is already possible with Jenkins by default:

          In your pipeline you can have a post section where you determine what actions to make. Possible values in your case is "alawys", "aborted", "failure", "cleanup" as described in pipeline syntax documentation.

          E.g

          post {
              aborted {
                  robot(...)
              }
          }
          

          Aleksi Simell added a comment - - edited Hi adrien_force , This isn't really related to the plugin behaviour in itself. This is already possible with Jenkins by default: In your pipeline you can have a post section where you determine what actions to make. Possible values in your case is "alawys", "aborted", "failure", "cleanup" as described in pipeline syntax documentation . E.g post { aborted { robot(...) } }

            aleksisimell Aleksi Simell
            adrien_force Adrien
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: