gradle / test-retry-gradle-plugin

Gradle plugin to retry tests that have failed to mitigate test flakiness.
Apache License 2.0
222 stars 50 forks source link

Use snapshot task when publishing nightly to internal Artifactory #175

Closed snoopcheri closed 1 year ago

snoopcheri commented 1 year ago

Using the devSnapshot task provided by the Nebula release plugin creates an artifact version of the form <major>.<minor>.<patch>-dev.#+<hash>.

A subsequent nightly job w/o a new commit therefore leads to the same version number. Our internal Artifactory refuses to overwrite the uploaded JAR.

Using the snapshot task create an artifact version of the form <major>.<minor>.<patch>-SNAPSHOT. We assume, that the internal Artifactory allows overwriting an artifact with "-SNAPSHOT" ending.