Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

hey, i am unable to run bitbuket pipline.yml file for qodana report some issue in my yml script.

deepak deshwar
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!
November 21, 2023

image: atlassian/default-image:4 pipelines: branches: main: - step: name: Qodana caches: - qodana image: jetbrains/qodana-<linter> script: - export QODANA_TOKEN=$QODANA_TOKEN # Export the environment variable - qodana --results-dir=$BITBUCKET_CLONE_DIR/.qodana --report-dir=$BITBUCKET_CLONE_DIR/.qodana/report --cache-dir=$BITBUCKET_CLONE_DIR/.qodana/cache artifacts: - .qodana/report definitions: caches: qodana: .qodana/cache

1 answer

1 vote
Patrik S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 23, 2023

Hello @deepak deshwar and welcome to the Community!

It seems like the YML file you shared lost the formatting when you pasted it on the question description.

My understanding is that your YML is currently failing with syntax errors. If this is the case, could you please share with us a screenshot of the error you are receiving in the UI? 

I'd also like to share that Bitbucket offers a Pipeline Validator website that you can use to validate if your YML syntax is correct. Once you validate the changes in that portal, you can commit the same YML to your repository.

Thank you, @deepak deshwar !

Patrik S

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events