Skip to content

Instantly share code, notes, and snippets.

@jk
Created Dec 18, 2020
Embed
What would you like to do?
Run JetBrains Qodana on GitLab CI
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
@CLOVIS-AI
Copy link

CLOVIS-AI commented Jul 18, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment