优化
This commit is contained in:
@@ -9,10 +9,10 @@ test('Jenkins pipelines build finance as an independent service', async () => {
|
||||
const controller = await read('Jenkinsfile')
|
||||
const service = await read('Jenkinsfile.service')
|
||||
|
||||
assert.match(controller, /'gateway', 'auth', 'iam', 'firstleg', 'finance'/)
|
||||
assert.match(controller, /'gateway', 'gateway-overseas', 'auth', 'iam', 'firstleg', 'finance'/)
|
||||
assert.match(controller, /'finance': 'SERVICE_FINANCE'/)
|
||||
assert.match(controller, /booleanParam\(name: 'SERVICE_FINANCE'/)
|
||||
assert.match(service, /'gateway', 'auth', 'iam', 'firstleg', 'finance'/)
|
||||
assert.match(service, /'gateway', 'gateway-overseas', 'auth', 'iam', 'firstleg', 'finance'/)
|
||||
assert.match(service, /'finance': 'finance\/target\/finance-service-1\.0\.0-SNAPSHOT\.jar'/)
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user