-
Bug
-
Resolution: Unresolved
-
Blocker
-
None
-
Jenkins v1.518
Hi there,
The workspace cleanup plugin does not work with with Artifact Deployer plugin.
Here's my situation:
Each element of my matrix project runs and I archive artifacts such as "Engine/Lib/*/.lib". My Artifact deployer settings tell the system to copy "Engine/Lib/*/.lib" to "C:\Engine".
When each element of the matrix finishes I see:
12:28:52 Archiving artifacts
12:28:52
12:28:52 Deleting project workspace...
12:28:53 done
in the console log. In the console log for the parent job I see:
12:28:53 [ArtifactDeployer] - Starting deployment from the post-action ...
12:28:53 [ArtifactDeployer] - 0 file(s) have been copied from the 'C:\JCI\jobs\Expat-Live\workspace\CONFIG\Release\TARGET\x64\VS\10.0' to 'C:\tom'.
12:28:53 [ArtifactDeployer] - [ERROR] - Failed to deploy. Can't find any artifacts to deploy with the following configuration :[includes:Engine/Lib/**/*.lib,excludes:,basedir:C:\JCI\jobs\Expat-Live\workspace\CONFIG\Release\TARGET\x64\VS\10.0,outPath:C:\Engine]
12:28:53 null
12:28:53 Interrupting #55
12:28:53 Interrupting #55
12:28:53
12:28:53 Deleting matrix project workspace...
12:28:53 done
The clean up plugin has removed the files the artifact deployer is trying to get. Can the cleanup of the matrix elements happen after the artifact deployer plugin has run? The workspace cleanup should be last thing that's run as a post build step, first for the matrix elements, then the parent.
Can you please fix this as it's a major blocker for us?
Regards,
Tom