3
0
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:
SupremeMortal 2021-01-07 19:51:40 +00:00 committet von GitHub
Ursprung bbbb7034f6
Commit dc46905e50
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 4AEE18F83AFDEB23
2 geänderte Dateien mit 21 neuen und 14 gelöschten Zeilen

22
Jenkinsfile vendored
Datei anzeigen

@ -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
Datei anzeigen

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