Skip to content

Commit

Permalink
[FIXED JENKINS-15025] Maven-Tycho 0.15.0 build - no additional info in
Browse files Browse the repository at this point in the history
console log about compilation failure 

Rename method processCLIArguments to setOptions
  • Loading branch information
Nikolas Falco committed Oct 10, 2013
1 parent 721e379 commit 3f44820
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/java/hudson/maven/Maven3Builder.java
Expand Up @@ -159,7 +159,7 @@ public Result call() throws IOException {

// manage of Maven error threaded as in MavenCli, delegated by Maven3Launcher.launch
Maven3FailureLogger summary = new Maven3FailureLogger(mavenExecutionListener.logger);
summary.processCLIArguments(goals);
summary.setOptions(goals);
summary.logFailures(mavenExecutionResult);

if(r==0 && mavenExecutionResult.getThrowables().isEmpty()) {
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/hudson/maven/Maven3FailureLogger.java
Expand Up @@ -150,7 +150,7 @@ private MavenProject convert(MavenProjectInfo prjInfo)
* in this scenario all implementations must be patched to handle
* errors.
*/
public void processCLIArguments(List<String> goals)
public void setOptions(List<String> goals)
{
// need to calculate some values as in the maven request.
showErrors = goals.contains("-" + CLIManager.DEBUG) || goals.contains("-" + CLIManager.ERRORS);
Expand Down

0 comments on commit 3f44820

Please sign in to comment.