I am pretty sure it is a race condition, the sequence would be:
|scap-beta-deb passes and is a success|
|scap-beta-deb triggers beta-publish-deb job without waiting|
|beta-publish-deb looks for the last successful scap-beta-deb build and tries to retrieve the artifacts. It fails|
|scap-beta-deb archives the artifacts|
So now we have the proper order:
00:01:28.287 Archiving artifacts 00:01:28.424 [PostBuildScript] - [INFO] Executing post build scripts. 00:01:28.425 Waiting for the completion of beta-publish-deb 00:01:28.480 beta-publish-deb #470 started.