Skip to content
This repository was archived by the owner on Apr 20, 2022. It is now read-only.
This repository was archived by the owner on Apr 20, 2022. It is now read-only.

pass the build name to artifactory #131

Open
@regevbr

Description

@regevbr

Artifactory supports builds. The build in Artifactory is a way to group together a bunch of artifacts under the same roof and linking them to the CI that created them.
This can help in 2 ways:

  • Artifactory will show the build number in the metadata of the artifacts, which helps understanding which build created the artifacts.
  • When working with snapshots and production Artifactory repositories (as discussed in artifactory releases management question #122), we can easily promote the artifacts of the build from snapshot to production without the need to realize all the artifacts created by the build and copying them one by one. This is done using the promote api call of Artifactory.

We can utilize the metadata-resource using the opinionated pipeline I wrote there.

I know that getting the metadata of a build can lead to an anti-pattern but I believe that what I suggest here is a must and we already use it in our pipelines.

@marcingrzejszczak and @ciberkleid what do you say?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions