문제

Each commit to our code result in regression tests and deployment of a war file to Artifactory.

We would like to deploy once a day the last successfully tested war. What would be the best way to do this? We use Jenkins as our CI tool.

도움이 되었습니까?

해결책

If your goal is to save on storage in Artifactory, I'd suggest setup snapshot cleanup instead. You'll always have couple of last sucessfuly tested wars and you won't polute your Artifactory with too many old snapshots.

다른 팁

Create a second job that copies the latest artifact (Copy Artifact Plugin) from your build job and then deploys the artifact. The second job can be scheduled to run once a day.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top