diff --git a/.gitlab-ci-psnc.yml b/.gitlab-ci-psnc.yml index 7e2795438bf009af585c2b0b6ffdccc0f46fc64a..5e309a7fb0479709e13b9f8ef0e3c3563543951d 100644 --- a/.gitlab-ci-psnc.yml +++ b/.gitlab-ci-psnc.yml @@ -7,6 +7,8 @@ stages: sonarqube: image: sonarsource/sonar-scanner-cli:${SONAR_SCANNER_CLI_VERSION} stage: sonarqube + only: + - master variables: SONAR_PROJECT_BASE_DIR: "$CI_PROJECT_DIR" script: @@ -15,6 +17,8 @@ sonarqube: - sonarqube upload_linux_artifact: stage: upload_linux_artifact + only: + - artifacts script: ./build.sh --os=linux --arch=amd64 --upx artifacts: paths: