CI Improvements

This commit is contained in:
Telesphoreo 2023-06-04 21:22:41 -05:00
parent 2073436f76
commit 87730ab978

5
Jenkinsfile vendored
View File

@ -6,7 +6,6 @@ pipeline {
stages { stages {
stage('applyPatches') { stage('applyPatches') {
steps { steps {
scmSkip(deleteBuild: true)
withGradle { withGradle {
sh './gradlew applyPatches --no-daemon --refresh-dependencies' sh './gradlew applyPatches --no-daemon --refresh-dependencies'
} }
@ -17,6 +16,10 @@ pipeline {
withGradle { withGradle {
sh './gradlew paperclipJar --no-daemon --refresh-dependencies' sh './gradlew paperclipJar --no-daemon --refresh-dependencies'
} }
sh """
#!/bin/sh
mv \${WORKSPACE}/build/libs/Scissors-*.jar \${WORKSPACE}/build/libs/scissors-\${BUILD_NUMBER}.jar
"""
} }
} }
stage('test') { stage('test') {