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

Originally-Committed-As: 04f22dc69919af26a9b90b466144b46f6a79df7c
  • Loading branch information
olamy committed Jun 21, 2011
1 parent a531d8e commit 5b492e8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion 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
3 changes: 2 additions & 1 deletion src/main/java/hudson/maven/MavenModuleSetBuild.java
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 5b492e8

Please sign in to comment.