优化
This commit is contained in:
@@ -37,13 +37,17 @@ test('coordinator jobs present their own deployment environment as the default c
|
||||
assert.match(coordinatorPipeline, /downstreamJobPrefixForJob\(env\.JOB_BASE_NAME\)/)
|
||||
})
|
||||
|
||||
test('AUTO keeps its own baseline and retries only previously failed services', () => {
|
||||
test('AUTO advances interrupted baselines and retries only their selected services', () => {
|
||||
assert.match(coordinatorPipeline, /def parseAutoBuildState\(/)
|
||||
assert.match(coordinatorPipeline, /def previousAutoBuildState\(/)
|
||||
assert.match(coordinatorPipeline, /previousAutoBuildState\(currentBuild\.previousBuild, serviceModules\)/)
|
||||
assert.match(coordinatorPipeline, /state\.startsWith\('PENDING'\)/)
|
||||
assert.match(coordinatorPipeline, /failedServices\.addAll\(selected\.split\(','\)/)
|
||||
assert.match(coordinatorPipeline, /git rev-parse HEAD\^/)
|
||||
assert.match(coordinatorPipeline, /selected\.addAll\(retryServices\)/)
|
||||
assert.match(coordinatorPipeline, /AUTO \$\{env\.IMAGE_TAG\} \| PENDING/)
|
||||
assert.match(coordinatorPipeline, /AUTO \$\{env\.IMAGE_TAG\} \| RESULTS/)
|
||||
assert.doesNotMatch(coordinatorPipeline, /GIT_PREVIOUS_SUCCESSFUL_COMMIT/)
|
||||
assert.doesNotMatch(coordinatorPipeline, /commonChanged \? serviceModules/)
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user