Cypress test in Jenkins
This commit is contained in:
11
Jenkinsfile
vendored
11
Jenkinsfile
vendored
@@ -28,6 +28,17 @@ pipeline {
|
||||
sh 'npm test'
|
||||
}
|
||||
}
|
||||
stage('Run Cypress Tests') {
|
||||
steps {
|
||||
script {
|
||||
// Install Cypress (falls nicht bereits installiert)
|
||||
sh 'npx cypress install'
|
||||
|
||||
// Cypress Tests ausführen
|
||||
sh 'npx cypress run'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
post {
|
||||
|
||||
Reference in New Issue
Block a user