Signed-off-by: Chikachi <chikachi@chikachi.net>
master
Chikachi 2018-06-03 21:31:02 +02:00
parent 775a4efcdd
commit 577aff0bfc
No known key found for this signature in database
GPG Key ID: 0136086A0AC09F5E
1 changed files with 2 additions and 3 deletions

5
Jenkinsfile vendored
View File

@ -33,8 +33,7 @@ pipeline {
stage('Run Server Test') {
steps {
withCredentials([file(credentialsId: 'discordintegration.test.config', variable: 'CONFIG_FILE')]) {
sh 'mkdir -p run/config/Chikachi'
sh 'cp "$CONFIG_FILE" ./'
sh 'cp "$CONFIG_FILE" ./discordintegration.json'
dir('serverTest') {
sh 'npm update'
sh 'tsc'
@ -45,7 +44,7 @@ pipeline {
post {
always {
archiveArtifacts 'run/logs/*latest.log'
cleanWs deleteDirs: true, notFailBuild: true, patterns: [[pattern: 'run/config/**', type: 'INCLUDE'], [pattern: 'run/mods/**', type: 'INCLUDE']]
cleanWs deleteDirs: true, notFailBuild: true, patterns: [[pattern: 'run/config/**', type: 'INCLUDE'], [pattern: 'run/mods/**', type: 'INCLUDE'], [pattern: 'discordintegration.json', type: 'INCLUDE']]
}
}
}