-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
Jenkins 1.509.3
When you execute a maven goal in pre steps the maven goal is not executed in maven's batch mode. This stands in contrast to the default build step which is executed in batch mode.
Steps to reproduce:
- Create a new Maven job
- Add a pre step that runs clean
- Set the main build to run clean
- Add an empty pom to the workspace
- Run the job
- Open console output
- See that the pre step is not executed with the -B flag
- See that the main step is executed with the -B flag
Expected result:
Pre step should be executed in batch mode.
- relates to
-
JENKINS-26861 Invoke top-level Maven targets pre-/post-step should use batch mode
- Open