Added stop command and fixed parsing for Jenkinsfile.

This commit is contained in:
Harrison Deng 2022-05-12 02:44:29 -05:00
parent aa1c3d7580
commit 115b19c636
2 changed files with 5 additions and 4 deletions

2
Jenkinsfile vendored
View File

@ -6,7 +6,7 @@ pipeline {
dir('server') {
sh 'echo "eula=true" > eula.txt'
sh "chmod u+x ./run.sh"
sh "./run.sh"
sh 'echo "stop" ./run.sh'
}
logParser failBuildOnError: true, projectRulePath: 'Jenkinsparse', parsingRulesPath: 'Jenkinsparse', showGraphs: true, unstableOnWarning: true, useProjectRule: true
sh 'git reset --hard'

View File

@ -4,6 +4,7 @@ ok /\[\d\d:\d\d:\d\d WARN\]: Legacy plugin/
ok /\[\d\d:\d\d:\d\d ERROR\]:.* ebean.properties not found/
# General guide.
info /\[\d\d:\d\d:\d\d INFO\]: \[[\w\d\s]*\]/
warn /\[\d\d:\d\d:\d\d WARN\]/
error /\[\d\d:\d\d:\d\d ERROR\]/
info /\[\d\d:\d\d:\d\d\] \[[\w\d\s-]*\/INFO\]/
warn /\[\d\d:\d\d:\d\d\] \[[\w\d\s-]*\/WARN\]/
error /\[\d\d:\d\d:\d\d\] \[[\w\d\s-]*\/ERROR\]/
error /\[\d\d:\d\d:\d\d\] \[[\w\d\s-]*\/FATAL\]/