Skip to content

Instantly share code, notes, and snippets.

@michaelneale
Created September 6, 2018 00:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save michaelneale/968986abcd3315788c2e9422dcb34e88 to your computer and use it in GitHub Desktop.
Save michaelneale/968986abcd3315788c2e9422dcb34e88 to your computer and use it in GitHub Desktop.
pipeline {
stages {
stage('cypress - test') {
agent {
docker {
image 'cypress/base:8'
}
}
environment {
TERM 'xterm'
}
steps {
sh 'npm ci'
sh '$(npm bin)/cypress run --record --key <record_key>'
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment