Details
-
Suggestion
-
Resolution: Answered
-
None
-
None
Description
Hi Atlassians,
i´m not sure if this is a missing feature, or if i´m just to stupid to find the right configuration.
I have set up a plan with two stages. In the first stage the source code is checked out, build and tested. The result is a shared artifact with the results of the build. In the second stage, i download the artifact and copy it to a remote server via a script. For the master-branch this works fine.
Then i have configured branch-plans. But when i build a branch in the second stage of the branch-plan not the artifact created during the first stage is downloaded but the artifact created in the last run of the master-build-plan (=the last build of the master-branch). In the log i can see this happening:
19-Jul-2013 13:07:43 Build GeDok 5 - Gated Build - Refactoring_Tim - Deploy GeDok 5 #2 (DDEV-GB5-DEPLOY-2) started building on agent Default Agent
19-Jul-2013 13:07:44 Build working directory is D:\Bamboo\xml-data\build-dir\DDEV-GB5-DEPLOY
19-Jul-2013 13:07:44 Executing build GeDok 5 - Gated Build - Refactoring_Tim - Deploy GeDok 5 #2 (DDEV-GB5-DEPLOY-2)
19-Jul-2013 13:07:44 Running pre-build action: Clover Grails PreBuild Action
19-Jul-2013 13:07:44 Running pre-build action: VCS Version Collector
19-Jul-2013 13:07:44 Starting task 'Build-Ergebnis laden' of type 'com.atlassian.bamboo.plugins.bamboo-artifact-downloader-plugin:artifactdownloadertask'
19-Jul-2013 13:07:44 Preparing to download plan result DDEV-GB-65 artifact: Shared artifact: [GeDok5_Gated_Files], pattern: [**/Gebit.GeDok.Launcher/bin/Debug/**]
19-Jul-2013 13:07:44 Artifact [GeDok5_Gated_Files] downloaded successfully in 0s
GB5 refers to the branch-build (Gated build #5). The downloaded artifact is "DDEV-GB-65 artifact", which is the artifact created during the 65th run of the master-build-plan.
Whats going on here? How can i tell him to take the correct artifact?
Please help. Thanks.
Regards
Christoph