Its part of the job configuration on the m2release plugin – I’m not sure about 
the release plugin – it may be it just always does it.

https://wiki.jenkins-ci.org/display/JENKINS/Release+Plugin
https://wiki.jenkins-ci.org/display/JENKINS/M2+Release+Plugin

/James

From: [email protected] 
[mailto:[email protected]] On Behalf Of James Green
Sent: 15 August 2014 12:20
To: [email protected]
Subject: Re: Discard old builds - limit to snapshots?

I see a button on the per-build screen. However I'd like this configured within 
Jenkins as policy to help satisfy some auditing requirements. Is this doable or 
is this a an improvement to be logged?

On 15 August 2014 10:11, James Nord (jnord) 
<[email protected]<mailto:[email protected]>> wrote:
HI James,

Both the m2release plugin and the release plugin have the ability to mark a 
release as keep forever – which will prevent it from being removed as part of 
the old build tidyup process.
If you are not using any of these then you always have the ability to do this 
manually or via an API call to jenkins as part of the build.

/James

From: [email protected]<mailto:[email protected]> 
[mailto:[email protected]<mailto:[email protected]>]
 On Behalf Of James Green
Sent: 15 August 2014 09:20
To: [email protected]<mailto:[email protected]>
Subject: Discard old builds - limit to snapshots?

I'd really like to keep build history of releases but maintain only a limited 
set of snapshot history.

Is there a way to do this?

Thanks,

James

--
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
[email protected]<mailto:[email protected]>.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
[email protected]<mailto:[email protected]>.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
[email protected]<mailto:[email protected]>.
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to