Add upload and download specs support to Jenkins generic jobs (HAP-823)

[HAP-826] Replace Environment Variables in Pattern does not work anymore Created: 18/Oct/16  Updated: 07/Nov/16  Resolved: 07/Nov/16

Status: Resolved
Project: Jenkins Artifactory Plug-in
Component/s: Common
Affects Version/s: None
Fix Version/s: 2.8.0

Type: Sub-task Priority: High
Reporter: Michael Eichhorn Assignee: Dima Nevelev (Inactive)
Resolution: Fixed Votes: 1
Labels: None

Regression:
Yes

 Description   

With the restructuring replacing of environment variables in pattern does not work anymore.

I suspect in jenkins-artifactory-plugin\src\main\java\org\jfrog\hudson\generic\GenericArtifactsResolver.java
private String replaceVariables(String subject)

{ Util.replaceMacro(subject, envVars); return subject; }

should be

private String replaceVariables(String subject)

{ return Util.replaceMacro(subject, envVars); }

 Comments   
Comment by Michael Eichhorn [ 18/Oct/16 ]

Please see https://github.com/JFrogDev/jenkins-artifactory-plugin/pull/33 which I could test locally!

Generated at Tue May 21 12:35:18 UTC 2019 using JIRA 7.6.3#76005-sha1:8a4e38d34af948780dbf52044e7aafb13a7cae58.