-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* jenkins: Add Jenkinsfile * jenkins: Update Jenkinsfile * jenkins: Add Jenkins pipeline in README.md * jenkins: Update README.md
- Loading branch information
1 parent
f8468e3
commit f9a75fc
Showing
3 changed files
with
81 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"liveServer.settings.port": 5501 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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]) | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters