forked from kateyurasova/cypress-university-project
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathJenkinsfile
32 lines (31 loc) · 1.04 KB
/
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
pipeline {
agent any
stages {
stage('build') {
steps {
bat 'npm install'
}
}
stage('parallel') {
parallel {
// start several test jobs in parallel, and they all
// will use Cypress Dashboard to load balance any found spec files
stage('Run tests in parallel A') {
steps {
bat 'npx cypress run --record --key c21525ba-f260-4a95-ae31-2278911df66d --parallel'
}
}
stage('Run tests in parallel B') {
steps {
bat 'npx cypress run --record --key c21525ba-f260-4a95-ae31-2278911df66d --parallel'
}
}
stage('Run tests in parallel C') {
steps {
bat 'npx cypress run --record --key c21525ba-f260-4a95-ae31-2278911df66d --parallel'
}
}
}
}
}
}