This commit is contained in:
2026-08-20 13:42:55 +08:00
parent d340c418e8
commit 164d862588
2 changed files with 5 additions and 1 deletions
@@ -33,6 +33,7 @@ test('production deployments cannot skip tests', () => {
test('Java builds use the shared builder pool and deploy on the target environment node', () => {
assert.match(pipeline, /agent \{ label 'java-builder' \}/)
assert.match(pipeline, /\['development', 'test'\]\.contains\(params\.ENVIRONMENT\)/)
assert.match(pipeline, /\['master', 'built-in'\]\.contains\(env\.NODE_NAME\)/)
assert.match(pipeline, /deploy-built-service\.sh/)
assert.match(directDeployScript, /docker save "\$IMAGE" \| gzip -1 \| run_ssh/)
assert.match(directDeployScript, /--pull never/)