Skip to content

Commit

Permalink
Install cypress
Browse files Browse the repository at this point in the history
  • Loading branch information
razvanMiu committed Jan 8, 2021
1 parent f97f12d commit 287ba98
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ pipeline {
node(label: 'docker-host') {
script {
checkout scm
if (env.BRANCH_NAME == 'master') {
if (env.BRANCH_NAME == 'test') {
tagName = 'latest'
} else {
tagName = "$BRANCH_NAME"
Expand Down
2 changes: 1 addition & 1 deletion entrypoint-prod.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ if [[ "$1" == "cypress"* ]]; then
RAZZLE_API_PATH=$RAZZLE_API_PATH yarn start &

cd /opt/frontend
exec bash -c "wait-on -t $TIMEOUT http://localhost:3000 && NODE_ENV=production CYPRESS_API_PATH=$CYPRESS_API_PATH ./node_modules/cypress/bin/cypress run"
exec bash -c "wait-on -t $TIMEOUT http://localhost:3000 && NODE_ENV=production CYPRESS_API_PATH=$CYPRESS_API_PATH ./node_modules/cypress/bin/cypress install"
exec bash -c "wait-on -t $TIMEOUT http://localhost:3000 && NODE_ENV=production CYPRESS_API_PATH=$CYPRESS_API_PATH ./node_modules/cypress/bin/cypress run"
fi

Expand Down

0 comments on commit 287ba98

Please sign in to comment.