-
Bug
-
Resolution: Fixed
-
Low
-
5.12.0.2, 5.13.0.1, 5.15.5
-
13
-
Severity 3 - Minor
-
0
-
Summary
After the build plan second stage completed, its artifact is not updated into the Deployment Release version
Steps to Reproduce
- Create a build plan with two stages - StageA and StageB
- Create artifact for each stage's Job - JobA (ArtifactA) and JobB (ArtifactB)
- Create a deployment project for the build plan
- Create two environment - EnvironmentA and EnvironmentB
EnvironmentA will download artifact from ArtifactA and EnvironmentB will download artifact from ArtifactB - Add a "After successful stage" trigger to EnvironmentA so that it will be triggered by StageA
- Add a "After successful stage" trigger to EnvironmentB so that it will be triggered by StageB
- Run the build plan
Expected Results
Successful deployment in both environments
Actual Results
- The second deployment in EnvironmentB fail with the following error in the deployment log:
30-Sep-2016 18:29:03 Build Deployment of 'release-1' on 'EnvironmentB' started building on agent Default Agent 30-Sep-2016 18:29:03 30-Sep-2016 18:29:03 Build working directory is /Users/klfoong/Desktop/ServiceRocket/bamboo/atlassian-bamboo-5.13.2/home/xml-data/build-dir/851969-950274 30-Sep-2016 18:29:03 Executing build Deployment of 'release-1' on 'EnvironmentB' 30-Sep-2016 18:29:03 Starting task 'Clean working directory task' of type 'com.atlassian.bamboo.plugins.bamboo-artifact-downloader-plugin:cleanWorkingDirectoryTask' 30-Sep-2016 18:29:03 Cleaning working directory '/Users/klfoong/Desktop/ServiceRocket/bamboo/atlassian-bamboo-5.13.2/home/xml-data/build-dir/851969-950274' 30-Sep-2016 18:29:03 Finished task 'Clean working directory task' with result: Success 30-Sep-2016 18:29:03 Starting task 'Download release contents' of type 'com.atlassian.bamboo.plugins.bamboo-artifact-downloader-plugin:artifactdownloadertask' 30-Sep-2016 18:29:03 Preparing to download plan result BAM-GIT-3 artifact: Shared artifact: [ArtifactB], pattern: [ArtifactB.xml] 30-Sep-2016 18:29:03 Unable to download artifact Shared artifact: [ArtifactB], pattern: [ArtifactB.xml] 30-Sep-2016 18:29:03 Task configuration: 30-Sep-2016 18:29:03 artifactName_0 -> [ArtifactB] 30-Sep-2016 18:29:03 artifactId_0 -> [753666] 30-Sep-2016 18:29:03 sourcePlanKey -> [BAM-GIT] 30-Sep-2016 18:29:03 localPath_0 -> [] 30-Sep-2016 18:29:03 Task runtime configuration: 30-Sep-2016 18:29:03 securityToken -> [e8123e5df23cbbd079ebecf58c80994677a334ef] 30-Sep-2016 18:29:03 runtimeArtifactIds_0 -> [0] 30-Sep-2016 18:29:03 artifactName_0 -> [ArtifactB] 30-Sep-2016 18:29:03 artifactId_0 -> [753666] 30-Sep-2016 18:29:03 resultKey -> [BAM-GIT-3] 30-Sep-2016 18:29:03 artifactLocation_0 -> [] 30-Sep-2016 18:29:03 localPath_0 -> [] 30-Sep-2016 18:29:03 artifactPattern_0 -> [ArtifactB.xml] 30-Sep-2016 18:29:03 Finished task 'Download release contents' with result: Error 30-Sep-2016 18:29:03 Finalising the build... 30-Sep-2016 18:29:03 Stopping timer. 30-Sep-2016 18:29:03 Build 851969-950274-1146882 completed. 30-Sep-2016 18:29:03 Finished processing deployment result Deployment of 'release-1' on 'EnvironmentB'
- "Release contents" for the release version "release-1" is only showing the first artifact ArtifactA