Details
-
Type:
Improvement
-
Status: Closed (View Workflow)
-
Priority:
Minor
-
Resolution: Fixed
-
Component/s: copyartifact-plugin
-
Labels:None
-
Similar Issues:
Description
Plugin documentation states that "The name of the environment variable is COPYARTIFACT_BUILD_NUMBER_ with the source project name appended (in all uppercase, and characters other than A-Z replaced with underscore)."
When the project to copy artifacts from contains a number or special characters, those characters are removed, not replaced with _.
Attachments
Issue Links
- is related to
-
JENKINS-18938 COPYARTIFACT_BUILD_NUMBER_ does not preserve numbers in job names
-
- Closed
-
They're not removed either, sequences of non-alpha characters are collapsed into one underscore. Try with project name abc123, it'll become COPYARTIFACT_BUILD_NUMBER_ABC_
Since it says it replaces characters (plural) with underscore (singular) (instead of underscores), one could even say the description is correct