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

Confluence publisher: Add boolean to choose whether to perform publish action if plugin sees page does not exist

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • Ubuntu 12.04 Server, Jenkins LTS 1.480.2

      I've run into a situation a couple of times in my environment where if our confluence site goes down (for whatever reason) the publish action for numerous jobs causes the run to fail. This causes QA and dev to question whether they should proceed with upgrades etc, and overall a lot of churn.

      Using the flexible publisher I could devise a method to conditionally run the confluence post build action only if certain criterion were met that guaranteed the confluence site was available. However since the plugin already has the ability to look ahead to see if it can connect to a page it would be an ideal way to provide this switch to the user who does not want or know how to work around cases like mine.

      Something like:

      [X] Do not publish if the page does not exist

            jhansche Joe Hansche
            acolichia Aaron Colichia
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: