I use jenkins / hudson to create maven releases, and sometimes when assemblies do not work, I have no other way to manually roll back, and then run jenkins build again. I was wondering if there is a good and custom way to run mvn release: rollback at the end of the build, depending on the result of mvn release: prepare ? I mean, if the release process failed, I want to run maven release: rollback, otherwise not.
Thank you, your time.
source share