3
0
Mirror von https://github.com/GeyserMC/Geyser.git synchronisiert 2024-12-25 15:50:14 +01:00

Attempt to use Artifactory

Dieser Commit ist enthalten in:
Camotoy 2021-01-08 13:13:13 -05:00
Ursprung be8329722e
Commit b51173ea97

Datei anzeigen

@ -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 {