user1663023
user1663023

Reputation:

Jenkins: How to keep promoted builds for ever? (Please don't close)

When a build is promoted to production, I want to keep this build forever so I could rollback if needed. I can manually click the keep this build forever button. But I wonder if there is a way to automatically keep any promoted build forever?

I ask this question again because the same question (Jenkins: How to keep promoted builds for ever?) was closed without a good reason.

Upvotes: 0

Views: 125

Answers (1)

Paweł Głowacz
Paweł Głowacz

Reputation: 3046

In jenkins if you are using maven to build your application there is an option to do that: Jenkins configuration for maven

If your jenkins does not have that it means that you need to install plugin for it. Gradle propably has the same configuration.

Upvotes: 0

Related Questions