chore:更新gitlab-ci

This commit is contained in:
曾文豪
2023-04-21 15:43:07 +08:00
parent 6f0360bad5
commit 305dc743b2

View File

@@ -16,22 +16,3 @@ deploy-jar:
- git add . - git add .
- git commit -m "deploy $CI_PROJECT_NAME $CI_COMMIT_TAG" - git commit -m "deploy $CI_PROJECT_NAME $CI_COMMIT_TAG"
- git push origin master - git push origin master
qodana:
stage: deploy
tags:
- hzkepai
image:
name: jetbrains/qodana-<linter>
entrypoint: [""]
variables:
QODANA_TOKEN: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJvcmdhbml6YXRpb24iOiJBbEQ2MSIsInByb2plY3QiOiJ6cVFxMCIsInRva2VuIjoiQVJta0UifQ.599V0MjlL6rtvGqc7ObLKfLiQRN9O7UnC_VEgEZB--Y
QODANA_REMOTE_URL: git@$CI_SERVER_HOST:$CI_PROJECT_PATH.git
QODANA_BRANCH: $CI_COMMIT_BRANCH
QODANA_REVISION: $CI_COMMIT_SHA
QODANA_JOB_URL: $CI_JOB_URL
script:
- qodana
artifacts:
paths:
- qodana