How to get the version number of the last successful build?
问题 Background I have a third-party web service with methods for installing and uninstalling an artifact. Both when installing and uninstalling, you specify an artifact named package-%maven.project.version%.zip. Before installing a new package, I need to uninstall the previously installed package. Solutions I found this solution, but as this is the final step to achieve continuous deployment, I need something automated and not a prompt. Another solution that can be automated by a build step is to