-
Notifications
You must be signed in to change notification settings - Fork 0
/
Jenkinsfile
34 lines (33 loc) · 871 Bytes
/
Jenkinsfile
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
/* groovylint-disable SpaceAfterClosingBrace */
pipeline {
agent any
tools {
nodejs 'NodeJS 17.5.0'
}
stages {
stage('Dependencies') {
steps {
bat 'npm ci'
bat 'npm install rimraf'
}
}
stage('e2e Tests') {
steps {
bat 'npm run test:execute'
}
}
stage('Deploy Test Reports') {
steps {
publishHTML([
allowMissing: false,
alwaysLinkToLastBuild: true,
keepAll: false,
reportDir: 'target/site/serenity',
reportFiles: 'index.html',
reportName: 'Serenity Report',
reportTitles: '',
useWrapperFileDirectly: true])
}
}
}
}