How to push rollback version of build on Tomcat in case of unstable build using Jenkins? -


i using jenkins continuous build java projects , using deploy plugin,it takes war/ear file , deploys running remote application server @ end of build successful. stuck @ 1 scenario of deployment,if new build fails have push rollback version of build tomcat,i using deploy plugin there no such options.

could please me plugin have use push rollback version of build on tomcat in case of unstable build using jenkins.

i think best way handle have post-build step executed successful builds, copy war/ear someplace on file system of jenkins instance. you'd have post-build step failed builds, upfront house-keeping of tomcat server , deploy last successful war/ear tomcat instance.


Comments