Skip to content

Commit

Permalink
[FIXED JENKINS-9213] as we ignore the non available TokenMacro no nee…
Browse files Browse the repository at this point in the history
…d to log that
  • Loading branch information
olamy committed Jun 21, 2011
1 parent 303c86e commit 04f22dc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion maven-plugin/src/main/java/hudson/maven/MavenBuild.java
Expand Up @@ -725,7 +725,8 @@ public String getMavenOpts(TaskListener listener) {
// listener.error( "Ignore MacroEvaluationException " + e.getMessage() );
}
catch(Exception tokenException) {
listener.error("Ignore Problem expanding maven opts macros " + tokenException.getMessage());
//Token plugin not present. Ignore, this is OK.
//listener.error("Ignore Problem expanding maven opts macros " + tokenException.getMessage());
}
catch(LinkageError linkageError) {
// Token plugin not present. Ignore, this is OK.
Expand Down
Expand Up @@ -548,7 +548,8 @@ public String getMavenOpts(TaskListener listener) {
// listener.error( "Ignore MacroEvaluationException " + e.getMessage() );
}
catch(Exception tokenException) {
listener.error("Ignore Problem expanding maven opts macros " + tokenException.getMessage());
//Token plugin not present. Ignore, this is OK.
//listener.error("Ignore Problem expanding maven opts macros " + tokenException.getMessage());
}
catch(LinkageError linkageError) {
// Token plugin not present. Ignore, this is OK.
Expand Down

0 comments on commit 04f22dc

Please sign in to comment.