mirror of
https://github.com/AtlasMediaGroup/Scissors.git
synced 2024-11-27 07:05:39 +00:00
CI Improvements (#94)
This commit is contained in:
parent
2073436f76
commit
79f013c021
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