Build expiry fails

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

Build expiry fails with exception below:

java.lang.IllegalArgumentException: The build expiry configuration would expire *all* builds! com.atlassian.bamboo.build.expiry.BuildExpiryConfig@25451467[myPeriod=<null>,myDuration=0,buildsToKeep=0,expiryTypeResult=false,expiryTypeArtifact=false,expiryTypeBuildLog=false,excludeLabels=<null>,labelsToKeep=<null>,cronExpression=<null>,disabled=false]
    at com.atlassian.bamboo.build.expiry.BuildExpiryBean.expirePlan(BuildExpiryBean.java:149)
    at com.atlassian.bamboo.build.expiry.BuildExpiryBean.expireAllBuilds(BuildExpiryBean.java:107)
    at com.atlassian.bamboo.build.expiry.BuildExpiryAction.doRun(BuildExpiryAction.java:80)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
...
...

Resolution

This is a bug, which was resolved in Bamboo 4.2.

Please upgrade your Bamboo instance to 4.2 or later version.

 

Last modified on Jun 14, 2013

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.