JFrog Artifactory · Arazzo Workflow
Artifactory Publish Build and Set Retention
Version 1.0.0
Publish build info, list the build runs, then apply a retention policy.
View Spec
View on GitHub
ArtifactsDevOpsCI/CDDocker RegistryMavenPackage ManagementRepositoryArazzoWorkflows
Provider
Workflows
publish-build-and-set-retention
Publish build info, list its runs, and set a retention policy.
Publishes a build, lists the runs for that build name to verify it was recorded, and configures a retention policy capping the number of retained builds.
1
publishBuild
publishBuildInfo
Publish the build info record for the named build and number.
2
listRuns
getBuildRuns
List the runs recorded for the build name to confirm the publish was captured before configuring retention.
3
setRetention
setBuildRetention
Apply a retention policy that keeps at most the requested number of builds and deletes their artifacts on cleanup.