Skip to content

Commit

Permalink
Fix bug in Bitbucket snippets
Browse files Browse the repository at this point in the history
  • Loading branch information
smth-to-smb committed Mar 20, 2024
1 parent f50f347 commit 61edb3f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
5 changes: 1 addition & 4 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions topics/bitbucket.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ pipelines:
name: Qodana
caches:
- qodana
image: jetbrains/qodana-<linter> # Specify a Qodana linter here. For example, jetbrains/qodana-jvm:latest
image: jetbrains/qodana-<linter> # Specify a Qodana linter here. For example, jetbrains/qodana-jvm:latest
script:
- export QODANA_TOKEN=$QODANA_TOKEN # Export the environment variable
- qodana --fail-threshold <number-of-problems> --results-dir=$BITBUCKET_CLONE_DIR/.qodana --report-dir=$BITBUCKET_CLONE_DIR/.qodana/report --cache-dir=$BITBUCKET_CLONE_DIR/.qodana/cache
Expand Down Expand Up @@ -72,7 +72,7 @@ pipelines:
name: Qodana
caches:
- qodana
image: jetbrains/qodana-&lt;linter&gt; # Specify a Qodana linter here. For example, jetbrains/qodana-jvm:latest
image: jetbrains/qodana-<linter> # Specify a Qodana linter here. For example, jetbrains/qodana-jvm:latest
script:
- export QODANA_TOKEN=$QODANA_TOKEN # Export the environment variable
- qodana --baseline <path/to/qodana.sarif.json> --results-dir=$BITBUCKET_CLONE_DIR/.qodana --report-dir=$BITBUCKET_CLONE_DIR/.qodana/report --cache-dir=$BITBUCKET_CLONE_DIR/.qodana/cache
Expand Down

0 comments on commit 61edb3f

Please sign in to comment.