0

Is there a way to execute a maven goal before executing the current job? For example I want to execute mvn blah blah before mvn clean verify test. The mvn clean verify test is auto trigger when the git branch has been pushed.

1 Answer 1

0

Even if your job is a Maven job, you can add a pre-build step (shell or batch) to launch your maven command (mvn bla bla bla):

enter image description here

Does it help?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.