1
0
mirror of https://github.com/GeyserMC/Floodgate.git synced 2026-01-04 15:31:48 +00:00

Updated the Jenkinsfile

This commit is contained in:
Tim203
2021-12-08 01:03:15 +01:00
parent 11f811b656
commit 32717d754a

6
Jenkinsfile vendored
View File

@@ -1,7 +1,7 @@
pipeline {
agent any
tools {
maven 'Maven 3'
maven 'Gradle 7'
jdk 'Java 8'
}
options {
@@ -11,11 +11,11 @@ pipeline {
stage ('Build') {
steps {
sh 'git submodule update --init --recursive'
sh 'mvn clean package'
sh './gradlew clean build'
}
post {
success {
archiveArtifacts artifacts: '**/target/floodgate-*.jar', excludes: "**/target/floodgate-api.jar,**/target/floodgate-core.jar", fingerprint: true
archiveArtifacts artifacts: '**/build/libs/floodgate-*.jar', excludes: "**/build/libs/floodgate-api.jar,**/build/libs/floodgate-core.jar", fingerprint: true
}
}
}