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
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
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.