mirror of
https://github.com/AtlasMediaGroup/Scissors.git
synced 2024-12-03 12:26:49 -05:00
CI Improvements (#94)
This commit is contained in:
parent
2073436f76
commit
79f013c021
1 changed files with 4 additions and 1 deletions
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 a new issue