Created
December 18, 2020 13:11
-
-
Save jk/9bce00f46b32daa37960dd9d11752539 to your computer and use it in GitHub Desktop.
Run JetBrains Qodana on GitLab CI
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
qodana: | |
stage: report | |
image: | |
name: jetbrains/qodana:latest | |
entrypoint: ["/usr/bin/bash", "-l", "-c"] | |
needs: | |
- composer-prod | |
script: | |
- ln -sf $CI_PROJECT_DIR/ /data/project | |
- /opt/idea/bin/entrypoint --save-report | |
- cp -r /data/results $CI_PROJECT_DIR/qodana | |
artifacts: | |
paths: | |
- $CI_PROJECT_DIR/qodana |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is outdated and doesn't work anymore. The official documentation has a working example for GitLab: https://www.jetbrains.com/help/qodana/qodana-intellij-docker-readme.html#quick-start-recommended-profile