Hello Aaron, thanks David As David said, the "Deploy artifacts to Maven repository" feature of the Maven Job type does not exist "as is" in the Pipeline Maven integration.
The recommended solution is to use the "-DdeployAtEnd=true" feature of Maven. See https://maven.apache.org/plugins/maven-deploy-plugin/deploy-mojo.html#deployAtEnd . Can you please describe more your need. Is it one of - Prevent partial upload of maven artifacts when a multi module project fails - Introduce intermediate build steps between the completion of "mvn verify" and the upload of the artifacts (the "deploy" part of the maven build) - Have retires if the artifact repository is unvailable - Other Cyrille On Thursday, January 17, 2019 at 6:23:40 PM UTC+1, David Karlsen wrote: > > I use the option deployAtEnd in the maven plugin to achieve this > > Den tor. 17. jan. 2019, 16:59 skrev Cyrille Le Clerc < > [email protected] <javascript:>>: > >> Hello AAron, >> >> This capability is niot av >> >> On Wednesday, January 16, 2019 at 5:16:22 PM UTC+1, Aaron Digulla wrote: >>> >>> Hello, >>> >>> For releases, I'd like to build and test all Maven modules and after the >>> build, deploy everything at once (otherwise, someone has to waste time to >>> clean up the mess in Nexus). >>> >>> In Jenkins 1, this was simple: Build with "mvn clean install" and add a >>> post-build job "Deploy artifacts to Maven repository". >>> >>> Jenkins 2 still maintains a list of all artifacts which need to be >>> deployed but I couldn't find the out how to recreate the old post-build job. >>> >>> How do I do that? >>> >>> Regards, >>> >> -- >> You received this message because you are subscribed to the Google Groups >> "Jenkins Users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/jenkinsci-users/8813b207-d8f5-4718-9401-a130b475899b%40googlegroups.com >> >> <https://groups.google.com/d/msgid/jenkinsci-users/8813b207-d8f5-4718-9401-a130b475899b%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/8ae0e715-b510-4b20-b940-7d75a8f37c1d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
