Details
-
Bug
-
Resolution: Fixed
-
Low
-
7.2.5, 8.1.3
-
None
-
1
-
Severity 3 - Minor
-
Description
Issue Summary
Build results generated by Repository Stored Specs (RSS) should not be considered while checking the latest artifacts using URL'S
- "${BAMBOO_BASE_URL}/browse/${PLAN_KEY}/latest/artifact/shared/"
- "{$BAMBOO_BASE_URL}/artifact/${PLAN_KEY}/shared/build-latestSuccessful"
Steps to Reproduce
- Publish a plan with artifact creation under a job using Java specs. Below is the sample Java spec code.
Plan createPlan() { return new Plan(project(), "My Plan24", "PLANSPECS") .description("Plan created from BambooJava Specs") .stages( new Stage("stage1") .jobs(new Job("Run", "RUN") .artifacts(new Artifact() .name("art1") .copyPattern("*.txt") .shared(true) .required(true)) .tasks(new ScriptTask() .inlineBody("echo \"artifact created\" > web.txt"))));
- Once the Specs code is successfully imported, the plan is created in Bamboo. Run the build of this plan multiple times (just to have multiple build results) from Bamboo UI.
- Check the latest artifact of the plan using the below URL, which will show the latest build artifact.
"${BAMBOO_BASE_URL}/browse/${PLAN_KEY}/latest/artifact/shared/"
- Update the plan's spec configuration now and publish the changes to Bamboo.
- Now, when we check the latest artifact using the same URL mentioned above, it will throw an error "Page not found" because the latest build in the build results summary is for "Specs configuration updated".
Expected Results
- Bamboo should show the latest artifacts from plan builds and should not consider the "Specs configuration updated" builds.
Actual Results
- Bamboo is including the "Specs configuration updated" builds while checking the latest artifacts and throws an error "Page not found".
- Same issue observed with URL "{$BAMBOO_BASE_URL}/artifact/${PLAN_KEY}/shared/build-latestSuccessful"
Workaround
No workaround as of now.
Attachments
Issue Links
- mentioned in
-
Page Loading...