Skip to content

Commit

Permalink
ci: run spotbugs only on master branch
Browse files Browse the repository at this point in the history
  • Loading branch information
kofemann committed Sep 24, 2024
1 parent f260a34 commit 6381cc6
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 6381cc6

Please sign in to comment.