Hi I'm Vinodh. We are working on a node.js based test automation project. And we are using the bitbucket pipeline as our CI. Surprisingly "npm run-script allure-report" is not getting executed at all. It is silently ignoring the script and directly going to Teardown.
pipeline setup: services: chrome: image: selenium/standalone-chrome:3.141.59-zinc ports: 4444:4444 . volumes: - /dev/shm:/dev/shm steps:- step: &automate-test caches: - node image: timbru31/java-node name: automate-test
script: - node -v - npm -v - npm install - export ASTROTESTBOT_SPECS=${SPEC_FILES} - export ASTROTESTBOT_TARGET_ENV=${TARGET_ENV} - export ASTROTESTBOT_TEST_PROJECT=${TEST_PROJECT} - export ASTROTESTBOT_LOG_LEVEL=${LOG_LEVEL} - export ASTROTESTBOT_DEVICES=${DEVICES}
- npm test - npm run-script allure-report
services: - chrome artifacts: - allure-report/** - errorShots/** - step: &slack_notify
name: slack script: - pipe: atlassian/slack-notify:0.3.1 variables: WEBHOOK_URL: ${SLACK_WEBHOOK} MESSAGE: 'Execution successful' pipelines: default:
branches: master: - step: *automate-test - step: *slack_notif
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.