-
Bug
-
Resolution: Won't Fix
-
Major
-
None
-
CopyArtifact 1.26, 1.27
- Install CopyArtifact 1.25.
- Create a multi-configuration project like this:
- project name: matrix
- axis1:
- Type: User-defined Axis
- Name: which
- Values: one two
- Create another matrix-configuration project
- project name: matrix-copier
- axis1:
- Type: User-defined Axis
- Name: which
- Values: one two
- Configure CopyArtifact in matrix-copier like this:
- Project name: matrix/which=${which}
- Upgrade CopyArtifact to 1.26 or later.
- Run a build for matrix-copier.
- Configuration of CopyArtifact in matrix-copier is upgraded like this:
- Project name: matrix
- Parameter filters: which=${which}
- is related to
-
JENKINS-17680 Upgrade to new Copy Artifacts version erases all job names to copy from
-
- Closed
-
[JENKINS-19057] ProjectName with variables in CopyArtifact < 1.26 is improperly upgraded.
Description |
New:
# Install CopyArtifact 1.25. # Create a multi-configuration project like this: ** project name: matrix ** axis1: *** Type: User-defined Axis *** Name: which *** Values: one two # Create another matrix-configuration project ** project name: matrix-copier ** axis1: *** Type: User-defined Axis *** Name: which *** Values: one two # Configure CopyArtifact in matrix-copier like this: ** Project name: matrix/which=${which} # Upgrade CopyArtifact to 1.26 or later. # Run a build for matrix-copier. # Configuration of CopyArtifact in matrix-copier is upgraded like this: ** Project name: matrix ** Parameter filters: which=${which} |
Description |
Original:
# Install CopyArtifact 1.25. # Create a multi-configuration project like this: ** project name: matrix ** axis1: *** Type: User-defined Axis *** Name: which *** Values: one two # Create another matrix-configuration project ** project name: matrix-copier ** axis1: *** Type: User-defined Axis *** Name: which *** Values: one two # Configure CopyArtifact in matrix-copier like this: ** Project name: matrix/which=${which} # Upgrade CopyArtifact to 1.26 or later. # Run a build for matrix-copier. # Configuration of CopyArtifact in matrix-copier is upgraded like this: ** Project name: matrix ** Parameter filters: which=${which} |
New:
# Install CopyArtifact 1.25. # Create a multi-configuration project like this: ** project name: matrix ** axis1: *** Type: User-defined Axis *** Name: which *** Values: one two # Create another matrix-configuration project ** project name: matrix-copier ** axis1: *** Type: User-defined Axis *** Name: which *** Values: one two # Configure CopyArtifact in matrix-copier like this: ** Project name: matrix/which=$\{which\} # Upgrade CopyArtifact to 1.26 or later. # Run a build for matrix-copier. # Configuration of CopyArtifact in matrix-copier is upgraded like this: ** Project name: matrix ** Parameter filters: which=$\{which\} |
Link |
New:
This issue is related to |
Resolution | New: Won't Fix [ 2 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Workflow | Original: JNJira [ 150504 ] | New: JNJira + In-Review [ 193552 ] |
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |
This seems caused because CopyArtifact#upgradeIfNecessary cannot find a project "matrix/which=${which}".
This may be processed like this:
When onCopy, variables cannot be retrieved.
If projectName contains variables (that is, contains $), the configuration should not be upgraded.