-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathJenkinsfile_nightly
38 lines (27 loc) · 1.59 KB
/
Jenkinsfile_nightly
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#!groovy
properties([
pipelineTriggers([cron('H 08 * * 1-5')]),
parameters([
string(name: 'ENVIRONMENT', defaultValue: 'aat', description: 'Environment to test'),
string(name: 'baseURL', defaultValue: 'https://moneyclaims.aat.platform.hmcts.net', description: 'The CMC Citizen frontend URL you want to run these tests against'),
string(name: 'cmcLegalURL', defaultValue: 'https://moneyclaims-legal.aat.platform.hmcts.net', description: 'The CMC Legal Rep frontend URL you want to run these tests against'),
string(name: 'idamBaseURL', defaultValue: 'https://idam-api-idam-aat.service.core-compute-idam-aat.internal', description: 'The IDAM API Url to create and delete users from'),
string(name: 'paymentURL', defaultValue: 'https://www.payments.service.gov.uk', description: 'The CCD Gateway Url'),
string(name: 'thinkTime', defaultValue: '5', description: 'Simulated user time taken to answer a page. (Default is set very short to provide faster feedback.)')
])
])
@Library("Infrastructure")
def product = "cmc"
def component = "claims"
withNightlyPipeline("java", product, component) {
env.baseURL = params.baseURL
env.cmcLegalURL = params.cmcLegalURL
env.idamBaseURL = params.idamBaseURL
env.paymentURL = params.paymentURL
env.thinkTime = params.thinkTime
enablePerformanceTest()
after('performanceTest') {
steps.archiveArtifacts allowEmptyArchive: true, artifacts: 'functional-output/**/*'
}
//enableSlackNotifications('#jui-nightly-builds')
}