mirror of
https://github.com/AtlasMediaGroup/Scissors.git
synced 2024-11-01 04:37:09 +00:00
CI Improvements
This commit is contained in:
parent
2073436f76
commit
87730ab978
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
@ -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') {
|
||||||
|
Loading…
Reference in New Issue
Block a user