Switch from Drone to Jenkins

This commit is contained in:
Jonas Herzig
2020-04-16 11:42:27 +02:00
parent 023a1bcf0f
commit 808793a121
3 changed files with 21 additions and 22 deletions

21
Jenkinsfile vendored Normal file
View File

@@ -0,0 +1,21 @@
pipeline {
agent {
docker { image 'openjdk:8-jdk' }
}
stages {
stage('Build') {
steps {
sh './gradlew :jGui:1.7.10:setupCIWorkspace :1.7.10:setupCIWorkspace'
sh './gradlew --parallel'
archiveArtifacts 'versions/*/build/libs/*.jar'
}
}
stage('Deploy') {
steps {
withAWS(endpointUrl: 'https://minio.johni0702.de', credentials: 'minio') {
s3Upload bucket: 'replaymod', includePathPattern: '*.jar', workingDir: 'build/libs', acl: 'PublicRead', pathStyleAccessEnabled: true
}
}
}
}
}