Skip to content

Commit

Permalink
ci: run spotbugs only on master branch
Browse files Browse the repository at this point in the history
(cherry picked from commit 6381cc6)
Signed-off-by: Tigran Mkrtchyan <[email protected]>
  • Loading branch information
kofemann committed Sep 24, 2024
1 parent 082d2d5 commit 991e26e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,8 @@ spotbugs:
stage: build
image: dcache/maven-java17-tar-build
extends: .build_cache
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
script:
- dnf -y -q install jq
- mvn $MAVEN_CLI_OPTS -DskipTests -am -pl packages/tar -DskipTests package com.github.spotbugs:spotbugs-maven-plugin:4.8.3.0:spotbugs verify
Expand Down

0 comments on commit 991e26e

Please sign in to comment.