mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
Attempt to use Artifactory
This commit is contained in:
parent
be8329722e
commit
b51173ea97
1 changed files with 35 additions and 0 deletions
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 {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue