Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.5.0, 4.0.0
-
None
Description
Consider each artifact type - files/jars/archives. For each artifact type, the following bug exists:
- Initialise a `JobArtifactState` with no artifacts added to it.
- Create a `JobArtifactSet` from the `JobArtifactState`.
- Add an artifact with the same active `JobArtifactState`.
- Create another `JobArtifactSet`
In the current behaviour, the set created in step 2 contains all the artifacts (through `sc.allAddedFiles` for example) while step 3 contains only the single artifact added in step 3.