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

Configure 'DefaultContents' per build status

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Won't Fix
    • email-ext-plugin
    • None
    • Platform: All, OS: All

    Description

      You could configure the $DEFAULT_CONTENT in the Hudson configuration.
      But seeing always the same structure is not required - if the build status is
      success or fixed I dont need the $FAILED_TESTS, $CHANGES or $BUILD_LOG.

      It would be good to configure multiple 'defaults' so each trigger could use
      different defaults. Better than configure them for each job.
      $DEFAULT_CONTENT
      $DEFAULT_CONTENT_SUCCESS
      $DEFAULT_CONTENT_FAILURE
      $DEFAULT_CONTENT_FIXED
      $DEFAULT_CONTENT_UNSTABLE
      $DEFAULT_CONTENT_STILL_FAILING
      $DEFAULT_CONTENT_STILL_UNSTABLE

      Attachments

        Activity

          slide_o_mix Alex Earl added a comment -

          I think this would be too klunky to define in the global config area. I recommend using the Jelly or Groovy scripting instead and checking the build status in there and changing the output accordingly.

          slide_o_mix Alex Earl added a comment - I think this would be too klunky to define in the global config area. I recommend using the Jelly or Groovy scripting instead and checking the build status in there and changing the output accordingly.

          People

            markltbaker markltbaker
            jhm jhm
            Votes:
            2 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: