mirror of
https://github.com/GeyserMC/GeyserConnect.git
synced 2025-06-26 06:15:21 +02:00
Remove deploying from Jenkinsfile
This commit is contained in:
parent
0f3b2643e9
commit
6b6973c5b9
1 changed files with 2 additions and 38 deletions
40
Jenkinsfile
vendored
40
Jenkinsfile
vendored
|
@ -11,23 +11,16 @@ pipeline {
|
||||||
}
|
}
|
||||||
|
|
||||||
options {
|
options {
|
||||||
buildDiscarder(logRotator(artifactNumToKeepStr: '5'))
|
buildDiscarder(logRotator(artifactNumToKeepStr: '20'))
|
||||||
}
|
}
|
||||||
|
|
||||||
stages {
|
stages {
|
||||||
stage ('Build') {
|
stage ('Build') {
|
||||||
steps {
|
steps {
|
||||||
sh 'git submodule update --init --recursive'
|
sh 'git submodule update --init --recursive'
|
||||||
rtMavenResolver(
|
|
||||||
id: "maven-resolver",
|
|
||||||
serverId: "opencollab-artifactory",
|
|
||||||
releaseRepo: "maven-deploy-release",
|
|
||||||
snapshotRepo: "maven-deploy-snapshot"
|
|
||||||
)
|
|
||||||
rtMavenRun(
|
rtMavenRun(
|
||||||
pom: 'pom.xml',
|
pom: 'pom.xml',
|
||||||
goals: 'clean package',
|
goals: 'clean package'
|
||||||
resolverId: "maven-resolver"
|
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
post {
|
post {
|
||||||
|
@ -36,35 +29,6 @@ pipeline {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
stage ('Deploy') {
|
|
||||||
when {
|
|
||||||
branch "master"
|
|
||||||
}
|
|
||||||
steps {
|
|
||||||
rtMavenDeployer(
|
|
||||||
id: "maven-deployer",
|
|
||||||
serverId: "opencollab-artifactory",
|
|
||||||
releaseRepo: "maven-releases",
|
|
||||||
snapshotRepo: "maven-snapshots"
|
|
||||||
)
|
|
||||||
rtMavenResolver(
|
|
||||||
id: "maven-resolver",
|
|
||||||
serverId: "opencollab-artifactory",
|
|
||||||
releaseRepo: "maven-deploy-release",
|
|
||||||
snapshotRepo: "maven-deploy-snapshot"
|
|
||||||
)
|
|
||||||
rtMavenRun(
|
|
||||||
pom: 'pom.xml',
|
|
||||||
goals: 'install -DskipTests',
|
|
||||||
deployerId: "maven-deployer",
|
|
||||||
resolverId: "maven-resolver"
|
|
||||||
)
|
|
||||||
rtPublishBuildInfo(
|
|
||||||
serverId: "opencollab-artifactory"
|
|
||||||
)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
post {
|
post {
|
||||||
|
|
Loading…
Add table
Reference in a new issue