Added stop command and fixed parsing for Jenkinsfile.
This commit is contained in:
parent
aa1c3d7580
commit
115b19c636
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -6,7 +6,7 @@ pipeline {
|
|||||||
dir('server') {
|
dir('server') {
|
||||||
sh 'echo "eula=true" > eula.txt'
|
sh 'echo "eula=true" > eula.txt'
|
||||||
sh "chmod u+x ./run.sh"
|
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
|
logParser failBuildOnError: true, projectRulePath: 'Jenkinsparse', parsingRulesPath: 'Jenkinsparse', showGraphs: true, unstableOnWarning: true, useProjectRule: true
|
||||||
sh 'git reset --hard'
|
sh 'git reset --hard'
|
||||||
|
@ -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/
|
ok /\[\d\d:\d\d:\d\d ERROR\]:.* ebean.properties not found/
|
||||||
|
|
||||||
# General guide.
|
# General guide.
|
||||||
info /\[\d\d:\d\d:\d\d INFO\]: \[[\w\d\s]*\]/
|
info /\[\d\d:\d\d:\d\d\] \[[\w\d\s-]*\/INFO\]/
|
||||||
warn /\[\d\d:\d\d:\d\d WARN\]/
|
warn /\[\d\d:\d\d:\d\d\] \[[\w\d\s-]*\/WARN\]/
|
||||||
error /\[\d\d:\d\d:\d\d ERROR\]/
|
error /\[\d\d:\d\d:\d\d\] \[[\w\d\s-]*\/ERROR\]/
|
||||||
|
error /\[\d\d:\d\d:\d\d\] \[[\w\d\s-]*\/FATAL\]/
|
||||||
|
Loading…
Reference in New Issue
Block a user