Skip to content

Commit

Permalink
made subrelease check interval configurable
Browse files Browse the repository at this point in the history
  • Loading branch information
WianVos committed May 3, 2016
1 parent 8f2a236 commit b7ba8ee
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ plugins {
id "com.github.hierynomus.license" version "0.11.0"
}

version="1.6.5"
version="1.6.7"

apply plugin: 'java'
apply plugin: 'idea'
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/synthetic.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<property name="releaseDescription" category="input" label="Release Description" required="false" />
<property name="variables" category="input" required="false" />
<property name="asynch" category="input" required="false" kind="boolean" default="false" description="If [false], the task will wait for the subrelease to finish"/>

<property name="checkSubReleaseInterval" category="input" required="true" kind="integer" default="500" description="interval in which to check the sub-release for status"/>
<property name="status" category="output" />
</type>

Expand Down
3 changes: 1 addition & 2 deletions src/main/resources/xlr/CreateAndStartSubRelease.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,5 +96,4 @@ def process_variables(variables, updatable_variables):
if status == "ABORTED":
print bcolors.FAIL + "Subrelease %s aborted in XLR" % (release_id)
sys.exit(1)
time.sleep(5)

time.sleep(int(checkSubReleaseInterval))

0 comments on commit b7ba8ee

Please sign in to comment.