Removed port resource lock in Jenkinsfile.
This commit is contained in:
parent
054567144b
commit
0da948064b
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@ -14,9 +14,7 @@ pipeline {
|
|||||||
sh 'echo "eula=true" > eula.txt'
|
sh 'echo "eula=true" > eula.txt'
|
||||||
sh "chmod u+x ./run_trial.sh"
|
sh "chmod u+x ./run_trial.sh"
|
||||||
sh "curl -o mods/DynmapBlockScan.jar -LJR https://github.com/webbukkit/DynmapBlockScan/releases/download/v3.4-beta-1/DynmapBlockScan-3.4-beta-1-forge-1.18.jar"
|
sh "curl -o mods/DynmapBlockScan.jar -LJR https://github.com/webbukkit/DynmapBlockScan/releases/download/v3.4-beta-1/DynmapBlockScan-3.4-beta-1-forge-1.18.jar"
|
||||||
lock('Port 25565') {
|
sh 'echo "stop" | ./run_trial.sh'
|
||||||
sh 'echo "stop" | ./run_trial.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 "rm mods/DynmapBlockScan.jar"
|
sh "rm mods/DynmapBlockScan.jar"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user