Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-18073

Allow variables in Artifactory deployment include/exclude patterns

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major Major
    • artifactory-plugin
    • None
    • Jenkins 1.515

      With the Artifactory plugin, there is an option "Deploy maven artifacts" which when checked reveals two text boxes, "Include Patterns" and "Exclude Patterns." Trying to use a variable passed to the job as a parameter, such as */${version_to_deploy}/*, does not seem to work. It would be nice to be able to do this.

      The reason is that we have a job that builds from multiple branches (parameterized), and some of the branches contain release versions, some snapshot versions. Rather than having to update the job configuration to decide when to deploy to Artifactory, it would be convenient to be able to parameterize the job with a list of possible versions, and then just select the one to deploy (or none).

            gbois Gregory Boissinot
            vbeffa Vlad Beffa
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: