How can I choose a different download spec for the Jenkins Artifactory plugin based on the value of a build job string parameter?
For a given value of the string parameter I want to download a folder from artifactory, and for a different value of the string parameter I want to download a different folder from artifactory.
I'm trying to get these folders directly from artifactory because they contain build output from a different project that my build needs to use and change frequently, I can't just check them into the SCM for my build, but must have the current versions at build time.
I've looked at the pages for the Jenkins Artifactory Plugin and at the Jfrog Artifactory user guide but I haven't found anything on how to do this using the plugin.
I'm using a freestyle build with the Generic-Artifactory Integration option.
Jenkins version: 1.651.3
Artifactory Plugin Version: 2.8.1
Artifactory Version 4.6.1