Uploaded image for project: 'Jenkins Artifactory Plug-in'
  1. Jenkins Artifactory Plug-in
  2. HAP-796

Jenkins Workflow (Pipeline) - Discard old builds in Artifactory

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 2.5.1
    • Fix Version/s: 2.6.0
    • Component/s: None
    • Labels:
      None

      Description

      I listed a comment in HAP-722, however it was already resolved, so creating a new ticket.

      I am using pipelines with jenkins and the artifactory plugin, however I cannot figure out a way to use the "discardBuildArtifacts" option. Is there a way to configure/tweak this value? I see it seems to be hard coded to false in the src/main/java/org/jfrog/hudson/pipeline/ArtifactoryPipelineConfigurator.java , however even if it wasn't I am not sure how to change it. Could someone please provide some guidance here and confirm if it is supported?

      "Automatically remove build artifacts stored in Artifactory according to Jenkins's configured policy for discarding old builds."

      It looks like it just might not be supported yet. I cannot fully switch from jenkins jobs to workflows until I have this feature.

        Attachments

          Activity

            People

            • Assignee:
              tamirh Tamir Hadad
              Reporter:
              abe A
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: