-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Medium
-
Affects Version/s: 9.6.0, 10.0.0
-
Component/s: Bamboo Specs
-
None
-
1
-
Severity 3 - Minor
Issue Summary
This is reproducible on Data Center: Yes
When exporting Bamboo Plan with a disabled DockerPushImageTask the Java specs is not showing it as disabled
Steps to Reproduce
- Created a Plan with a DockerPushImageTask and check the "Disable this task"
- Export the plan as Java Specs
Expected Results
DockerPushImageTask in exported Bamboo Java Specs is disabled
Actual Results
DockerPushImageTask in exported Bamboo Java Specs is not disabled
public Plan plan() {
final Plan plan = new Plan(new Project()
.oid(new BambooOid("1orygrh9j0nwh"))
.key(new BambooKey("PRO"))
.name("PRO"),
"PLAN",
new BambooKey("PLAN"))
.oid(new BambooOid("1ororjvwb6vi9"))
.pluginConfigurations(new ConcurrentBuilds())
.stages(new Stage("Default Stage")
.jobs(new Job("Default Job",
new BambooKey("JOB1"))
.tasks(new DockerPushImageTask()
.dockerHubImage("namespace/repository:tag")
.defaultAuthentication())))
.planBranchManagement(new PlanBranchManagement()
.delete(new BranchCleanup())
.notificationForCommitters());
return plan;
}
Workaround
Use the view as YAML export
- mentioned in
-
Page Loading...