Uploaded image for project: 'Continuum'
  1. Continuum
  2. CONTINUUM-1929

Improve docs on configuring mail notifiers

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.2
    • None
    • Documentation

    Description

      I can't find anything in the docs that talks about the various configuration options in application.xml for the email notifier.

      From /apps/continuum/WEB-INF/classes/META-INF/plexus/application.xml (below). The example configuration here in the comments should be moved to a documentation page.

            <configuration>
              <from-mailbox></from-mailbox>
              <from-name></from-name>
              <timestamp-format>EEE d MMM yyyy HH:mm:ss Z</timestamp-format>        <!-- Customizable mail subject.  Use any combination of literal text, or
       state, project, or build attributes.          Examples:
                  "[continuum] BUILD ${state}: ${project.groupId} ${project.name}"
                    results in "[continuum] BUILD SUCCESSFUL: foo.bar Hello World"
                  "[continuum] BUILD ${state}: ${project.name} ${project.scmTag}"
                    results in "[continuum] BUILD SUCCESSFULL: Hello World Branch001"
      
                  "[continuum] BUILD ${state}: ${project.name} ${project.version}"
                    results in "[continuum] BUILD SUCCESSFUL: Hello World 2.1-SNAPSHOT
      "
      
                  "[continuum] BUILD ${state}: ${project.name} ${build.durationTime}"
                    results in "[continuum] BUILD SUCCESSFUL: Hello World 2 sec"
      
                  "[continuum] BUILD ${state}: ${project.name}, Build Def - ${build.buildDefinition.description}"
                    results in "[continuum] BUILD SUCCESSFUL: Hello World, Build Def - Nightly Test Build"
               -->
              <subject-format>[continuum] BUILD ${state}: ${project.projectGroup.name} - ${project.name} - ${build.buildDefinition.description}</subject-format>
              <includeBuildResult>true</includeBuildResult>
              <includeBuildSummary>true</includeBuildSummary>
              <includeTestSummary>true</includeTestSummary>
              <includeOutput>false</includeOutput>
              <alwaysSend>false</alwaysSend>
            </configuration>
          </component>
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              wsmoak Wendy Smoak
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated: