public class BuildDiscarder extends Object
Constructor and Description |
---|
BuildDiscarder() |
Modifier and Type | Method and Description |
---|---|
int |
getStoreArtifactsDays() |
int |
getStoreArtifactsTotal() |
int |
getStoreBuildsDays() |
int |
getStoreBuildsTotal() |
void |
setStoreArtifactsDays(int daysToStoreArtifacts)
Set the number of days artifacts for a build should be stored for
|
void |
setStoreArtifactsTotal(int totalArtifactsToStore)
Set the total number of artifacts that should be stored for a job
|
void |
setStoreBuildsDays(int daysToStoreBuilds)
Set the number of days builds for a job should be stored for
|
void |
setStoreBuildsTotal(int totalBuildsToStore)
Set the total number of builds that should be stored for a job
|
public int getStoreBuildsDays()
public int getStoreBuildsTotal()
public int getStoreArtifactsDays()
public int getStoreArtifactsTotal()
public void setStoreBuildsDays(int daysToStoreBuilds)
daysToStoreBuilds
- build records are only kept up to this number of dayspublic void setStoreBuildsTotal(int totalBuildsToStore)
totalBuildsToStore
- only up to this number of build records are keptpublic void setStoreArtifactsDays(int daysToStoreArtifacts)
daysToStoreArtifacts
- artifacts from builds older than this number of days will be deletedpublic void setStoreArtifactsTotal(int totalArtifactsToStore)
totalArtifactsToStore
- only up to this number of builds have their artifacts retainedCopyright © 2017 JBoss by Red Hat. All Rights Reserved.