Cypress test in Jenkins

This commit is contained in:
ISA
2025-01-13 09:35:57 +01:00
parent 2d8d2999aa
commit b43779d38f

11
Jenkinsfile vendored
View File

@@ -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 {