Mirror von
https://github.com/PaperMC/Velocity.git
synchronisiert 2024-11-17 05:20:14 +01:00
Moving to new Jenkins setup
Dieser Commit ist enthalten in:
Ursprung
4a872ffabe
Commit
898353640e
@ -80,7 +80,7 @@ publishing {
|
||||
repositories {
|
||||
maven {
|
||||
name = 'myRepo'
|
||||
def base = project.ext.getCurrentBranchName() == "master" ? 'file:///maven-repo' : File.createTempDir().toURI().toURL().toString()
|
||||
def base = 'file:///maven-repo'
|
||||
def releasesRepoUrl = "$base/releases"
|
||||
def snapshotsRepoUrl = "$base/snapshots"
|
||||
url = version.endsWith('SNAPSHOT') ? snapshotsRepoUrl : releasesRepoUrl
|
||||
|
11
build.gradle
11
build.gradle
@ -18,17 +18,6 @@ allprojects {
|
||||
guavaVersion = '25.1-jre'
|
||||
checkerFrameworkVersion = '2.5.6'
|
||||
|
||||
getCurrentBranchName = {
|
||||
new ByteArrayOutputStream().withStream { os ->
|
||||
exec {
|
||||
executable = "git"
|
||||
args = ["rev-parse", "--abbrev-ref", "HEAD"]
|
||||
standardOutput = os
|
||||
}
|
||||
return os.toString().trim()
|
||||
}
|
||||
}
|
||||
|
||||
getCurrentShortRevision = {
|
||||
new ByteArrayOutputStream().withStream { os ->
|
||||
exec {
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren