Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

hsvinodh
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 19, 2020

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

0 votes
Krishna Kumar Singhal September 23, 2022

Probably because allure needs java.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events