mirror of
https://github.com/AtlasMediaGroup/Scissors.git
synced 2024-11-26 22:55:39 +00:00
I have no idea if this will work
This commit is contained in:
parent
5ea4ed902f
commit
b81bae46e1
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@ -17,6 +17,10 @@ pipeline {
|
|||||||
withGradle {
|
withGradle {
|
||||||
sh './gradlew createReobfPaperclipJar --no-daemon --refresh-dependencies'
|
sh './gradlew createReobfPaperclipJar --no-daemon --refresh-dependencies'
|
||||||
}
|
}
|
||||||
|
sh """
|
||||||
|
#!/bin/sh
|
||||||
|
mv \${WORKSPACE}/build/libs/Scissors-paperclip-*.jar scissors-\${BUILD_NUMBER}.jar
|
||||||
|
"""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('test') {
|
stage('test') {
|
||||||
@ -48,7 +52,7 @@ pipeline {
|
|||||||
}
|
}
|
||||||
post {
|
post {
|
||||||
always {
|
always {
|
||||||
archiveArtifacts artifacts: 'build/libs/Scissors-paperclip-*.jar', fingerprint: true
|
archiveArtifacts artifacts: 'build/libs/scissors-${BUILD_NUMBER}.jar', fingerprint: true
|
||||||
junit 'Scissors-Server/build/test-results/test/*.xml'
|
junit 'Scissors-Server/build/test-results/test/*.xml'
|
||||||
junit 'Scissors-API/build/test-results/test/*.xml'
|
junit 'Scissors-API/build/test-results/test/*.xml'
|
||||||
cleanWs()
|
cleanWs()
|
||||||
|
Loading…
Reference in New Issue
Block a user