Skip to content
Browse files
[FIXED JENKINS-26684] Escape special chars in maven build step arguments
  • Loading branch information
olivergondza committed Feb 8, 2015
1 parent fae41b0 commit 58a41bcb182290de681da01ba277b5e0d6211707
Showing with 4 additions and 0 deletions.
  1. +4 −0 core/src/main/java/hudson/tasks/
@@ -322,6 +322,10 @@ public boolean perform(AbstractBuild<?,?> build, Launcher launcher, BuildListene

buildEnvVars(env, mi);

if (!launcher.isUnix()) {
args = args.toWindowsCommand();

try {
MavenConsoleAnnotator mca = new MavenConsoleAnnotator(listener.getLogger(),build.getCharset());

2 comments on commit 58a41bc


This comment has been minimized.

Copy link

@KostyaSha KostyaSha replied Feb 15, 2015

Isn't maven in separate plugin now?


This comment has been minimized.

Copy link

@daniel-beck daniel-beck replied Feb 15, 2015

Execute top-level Maven targets build step is still in core. JENKINS-26462

Please sign in to comment.