use of com.thoughtworks.go.domain.ArtifactPlan in project gocd by gocd.
the class ArtifactPlanRepository method saveCopyOf.
public ArtifactPlan saveCopyOf(long jobId, ArtifactPlan artifactPlan) {
ArtifactPlan copyOfArtifactPlan = new ArtifactPlan(artifactPlan);
copyOfArtifactPlan.setBuildId(jobId);
save(copyOfArtifactPlan);
return copyOfArtifactPlan;
}
Aggregations