Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,368,853
Community Members
 
Community Events
168
Community Groups

Hi, my Bitbucket pipeline is ignoring the allure-report generation command. Is Allure supported?

Edited

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 variablesWEBHOOK_URL: ${SLACK_WEBHOOK} MESSAGE: 'Execution successful'   pipelinesdefault:
branchesmaster- step: *automate-test - step: *slack_notif

1 answer

Probably because allure needs java.

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events