Skip to content

Commit

Permalink
fix: dont publish test-classes bound mvn runs and tag them to be able…
Browse files Browse the repository at this point in the history
… to seperate them
  • Loading branch information
maxandersen committed Jun 16, 2023
1 parent 9f50775 commit 315adc8
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .mvn/gradle-enterprise.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,12 @@
mvn gradle-enterprise:provision-access-key
https://docs.gradle.com/enterprise/maven-extension/#publishing_based_on_criteria
-->
<publish>ALWAYS</publish>
<!-- only publish test runs when failure (no option to completely avoid it)-->
<publish>#{basedir.contains('test-classes') ? 'ON_FAILURE' : 'ALWAYS'}</publish>
<!-- tag which builds are tests vs real -->
<tags>
<tag>#{basedir.contains('test-classes') ? 'TEST-BUILD' : 'MAIN-BUILD'}</tag>
</tags>
<obfuscation>
<!-- Don't share ip addresses-->
<ipAddresses>#{{'0.0.0.0'}}</ipAddresses>
Expand Down

0 comments on commit 315adc8

Please sign in to comment.