I want to download the 3rd part package into QB, with configure the 'tag' variable to control the version
already create another configure to automation update the 'tag', but when test with "If specified script evaluates to true" on "Build Condition", it always been execute by "Schedule"
I also setup the "Next Build Version" to the "tag"
This my script:
groovy:
last_build = configuration.getLatestFinishedBuild()
So I couldn't understand why it can be execute by "Schedule", because the "tag" is not change
Description
I want to download the 3rd part package into QB, with configure the 'tag' variable to control the version
already create another configure to automation update the 'tag', but when test with "If specified script evaluates to true" on "Build Condition", it always been execute by "Schedule"
I also setup the "Next Build Version" to the "tag"
This my script:
groovy:
last_build = configuration.getLatestFinishedBuild()
if ( last_build != null ) {
return ! (last_build.getVar('tag') == configuration.findVarValue('tag'))
}
return true
So I couldn't understand why it can be execute by "Schedule", because the "tag" is not change