Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-12-26 16:12:46 +01:00
Attempt to use Artifactory
Dieser Commit ist enthalten in:
Ursprung
be8329722e
Commit
b51173ea97
35
bootstrap/fabric/Jenkinsfile
vendored
35
bootstrap/fabric/Jenkinsfile
vendored
@ -18,6 +18,41 @@ pipeline {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
stage ('Deploy') {
|
||||||
|
when {
|
||||||
|
branch "master"
|
||||||
|
}
|
||||||
|
|
||||||
|
steps {
|
||||||
|
sh 'mvn javadoc:jar source:jar deploy -DskipTests'
|
||||||
|
rtGradleDeployer(
|
||||||
|
id: "GRADLE_DEPLOYER",
|
||||||
|
serverId: "opencollab-artifactory",
|
||||||
|
releaseRepo: "maven-releases",
|
||||||
|
snapshotRepo: "maven-snapshots"
|
||||||
|
)
|
||||||
|
rtGradleResolver(
|
||||||
|
id: "GRADLE_RESOLVER",
|
||||||
|
serverId: "opencollab-artifactory",
|
||||||
|
releaseRepo: "release",
|
||||||
|
snapshotRepo: "snapshot"
|
||||||
|
)
|
||||||
|
rtGradleRun (
|
||||||
|
usesPlugin: true,
|
||||||
|
tool: GRADLE_TOOL,
|
||||||
|
rootDir: "/",
|
||||||
|
buildFile: 'build.gradle',
|
||||||
|
tasks: 'clean artifactoryPublish',
|
||||||
|
deployerId: "GRADLE_DEPLOYER",
|
||||||
|
resolverId: "GRADLE_RESOLVER"
|
||||||
|
)
|
||||||
|
rtPublishBuildInfo(
|
||||||
|
serverId: "opencollab-artifactory"
|
||||||
|
)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
post {
|
post {
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren