Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-11-20 06:50:09 +01:00
Use Artifactory Jenkins plugin for deployment (#1818)
* Use artifactory jenkins plugin * Bump version to 1.2.0-SNAPSHOT
Dieser Commit ist enthalten in:
Ursprung
bbbb7034f6
Commit
dc46905e50
22
Jenkinsfile
vendored
22
Jenkinsfile
vendored
@ -26,7 +26,27 @@ pipeline {
|
|||||||
}
|
}
|
||||||
|
|
||||||
steps {
|
steps {
|
||||||
sh 'mvn javadoc:jar source:jar deploy -DskipTests'
|
rtMavenDeployer(
|
||||||
|
id: "maven-deployer",
|
||||||
|
serverId: "opencollab-artifactory",
|
||||||
|
releaseRepo: "maven-releases",
|
||||||
|
snapshotRepo: "maven-snapshots"
|
||||||
|
)
|
||||||
|
rtMavenResolver(
|
||||||
|
id: "maven-resolver",
|
||||||
|
serverId: "opencollab-artifactory",
|
||||||
|
releaseRepo: "release",
|
||||||
|
snapshotRepo: "snapshot"
|
||||||
|
)
|
||||||
|
rtMavenRun(
|
||||||
|
pom: 'pom.xml',
|
||||||
|
goals: 'javadoc:jar source:jar install -DskipTests',
|
||||||
|
deployerId: "maven-deployer",
|
||||||
|
resolverId: "maven-resolver"
|
||||||
|
)
|
||||||
|
rtPublishBuildInfo(
|
||||||
|
serverId: "opencollab-artifactory"
|
||||||
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
13
pom.xml
13
pom.xml
@ -71,19 +71,6 @@
|
|||||||
</repository>
|
</repository>
|
||||||
</repositories>
|
</repositories>
|
||||||
|
|
||||||
<distributionManagement>
|
|
||||||
<repository>
|
|
||||||
<id>releases</id>
|
|
||||||
<name>opencollab-releases</name>
|
|
||||||
<url>https://repo.opencollab.dev/maven-releases</url>
|
|
||||||
</repository>
|
|
||||||
<snapshotRepository>
|
|
||||||
<id>snapshots</id>
|
|
||||||
<name>opencollab-snapshots</name>
|
|
||||||
<url>https://repo.opencollab.dev/maven-snapshots</url>
|
|
||||||
</snapshotRepository>
|
|
||||||
</distributionManagement>
|
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.projectlombok</groupId>
|
<groupId>org.projectlombok</groupId>
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren