Permalink
1 comment
on commit
sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Fix JENKINS-14508
Added default presend script and DEFAULT_PRESEND_SCRIPT token to be used in the project settings. Also added ability to use content tokens in pre-send script area so that the pre-send script could be loaded from the templates area if desired.
- Loading branch information
Showing
with
104 additions
and 57 deletions.
- +1 −1 src/main/java/hudson/plugins/emailext/AttachmentUtils.java
- +10 −8 src/main/java/hudson/plugins/emailext/ExtendedEmailPublisher.java
- +10 −8 src/main/java/hudson/plugins/emailext/ExtendedEmailPublisherDescriptor.java
- +5 −3 src/main/java/hudson/plugins/emailext/plugins/ContentBuilder.java
- +1 −1 src/main/java/hudson/plugins/emailext/{ → plugins}/EmailToken.java
- +1 −1 src/main/java/hudson/plugins/emailext/plugins/content/BuildIdContent.java
- +1 −1 src/main/java/hudson/plugins/emailext/plugins/content/BuildLogContent.java
- +1 −1 src/main/java/hudson/plugins/emailext/plugins/content/BuildLogExcerptContent.java
- +1 −1 src/main/java/hudson/plugins/emailext/plugins/content/BuildLogMultilineRegexContent.java
- +1 −1 src/main/java/hudson/plugins/emailext/plugins/content/BuildLogRegexContent.java
- +1 −1 src/main/java/hudson/plugins/emailext/plugins/content/BuildNumberContent.java
- +1 −1 src/main/java/hudson/plugins/emailext/plugins/content/BuildStatusContent.java
- +1 −1 src/main/java/hudson/plugins/emailext/plugins/content/BuildURLContent.java
- +1 −1 src/main/java/hudson/plugins/emailext/plugins/content/CauseContent.java
- +1 −1 src/main/java/hudson/plugins/emailext/plugins/content/ChangesSinceLastBuildContent.java
- +1 −1 src/main/java/hudson/plugins/emailext/plugins/content/ChangesSinceLastSuccessfulBuildContent.java
- +1 −1 src/main/java/hudson/plugins/emailext/plugins/content/ChangesSinceLastUnstableBuildContent.java
- +1 −1 src/main/java/hudson/plugins/emailext/plugins/content/FailedTestsContent.java
- +1 −1 src/main/java/hudson/plugins/emailext/plugins/content/JellyScriptContent.java
- +1 −1 src/main/java/hudson/plugins/emailext/plugins/content/JenkinsURLContent.java
- +1 −1 src/main/java/hudson/plugins/emailext/plugins/content/JobDescriptionContent.java
- +1 −1 src/main/java/hudson/plugins/emailext/plugins/content/ProjectNameContent.java
- +1 −1 src/main/java/hudson/plugins/emailext/plugins/content/ProjectURLContent.java
- +1 −1 src/main/java/hudson/plugins/emailext/plugins/content/SVNRevisionContent.java
- +1 −1 src/main/java/hudson/plugins/emailext/plugins/content/ScriptContent.java
- +1 −1 src/main/java/hudson/plugins/emailext/plugins/content/TestCountsContent.java
- +1 −1 src/main/java/hudson/plugins/emailext/plugins/content/WorkspaceFileContent.java
- +5 −1 src/main/resources/hudson/plugins/emailext/ExtendedEmailPublisher/config.groovy
- +3 −0 src/main/resources/hudson/plugins/emailext/ExtendedEmailPublisher/global.groovy
- +8 −1 src/main/resources/lib/email-ext/tokenhelp.jelly
- +15 −0 src/main/webapp/help/globalConfig/defaultPresendScript.html
- +24 −12 src/test/java/hudson/plugins/emailext/plugins/ContentBuilderTest.java
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -2,7 +2,7 @@ | ||
|
||
import hudson.model.AbstractBuild; | ||
import hudson.model.TaskListener; | ||
import hudson.plugins.emailext.plugins.EmailToken; | ||
|
||
import java.io.IOException; | ||
import java.util.Map; | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
c9e56e4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Jenkins » email-ext-plugin #134 UNSTABLE
Looks like this commit caused a build failure
(what's this?)