We build some assets in phase 1, then use those assets in phase 2. We are using the Copy Artifacts plugin.
We cannot use the "build that triggered this build" as phase 1 doesn't trigger phase 2.
We cannot use "most recent build" as we run the multijob in parallel with itself.
To work around this, we are using the attachment and the EnvInject plugin to find the previous build number and the pass that to the "specific build" option for artifacts.