Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Is it possible override build hang configuration using bamboo yaml specs?

Jedidiah Koh April 1, 2020

In Java specs it is possible to override the build hanging settings in the job using the custom map builder like so:

new AllOtherPluginsConfiguration()
.configuration(new MapBuilder()
.put("custom", new MapBuilder()
.put("buildHangingConfig", new MapBuilder()
.put("minutesBetweenLogs", "1")
.put("minutesQueueTimeout", "20")
.put("multiplier", "1")
.put("enabled", "true")
.build())
.build())
.build())

Is this possible to be done in yaml specs using the miscellaneous plugins section? Or any another section?

https://docs.atlassian.com/bamboo-specs-docs/6.10.4/specs.html?yaml#miscellaneous-plugins

other:
    clean-working-dir: true
    build-hang-config: #is there any such key?

I can't seem to find any documentation that gives any keys for this setting. 

1 answer

1 accepted

1 vote
Answer accepted
Alexey Chystoprudov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 2, 2020

Hello @Jedidiah Koh ,

It's not supported yet. Please raise an issue at https://jira.atlassian.com/browse/BAM 

Jedidiah Koh April 4, 2020

I see, thanks! At least now I know I don't need to keep searching. 

Also it seems your hyperlink has accidentally included the ending whitespace/newline characters.

https://jira.atlassian.com/browse/BAM

Jedidiah Koh April 5, 2020

Update: I've raised an issue at https://jira.atlassian.com/browse/BAM-20887

margo April 4, 2023

@Alexey Chystoprudov I see that the above created issue has 8.1.1 as fix-version, but it is not explained anywhere how to actually implement this in yaml specs.

Can you give an example?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events