Removed port resource lock in Jenkinsfile.

This commit is contained in:
Harrison Deng 2022-05-16 15:01:23 -05:00
parent 054567144b
commit 0da948064b

4
Jenkinsfile vendored
View File

@ -14,9 +14,7 @@ pipeline {
sh 'echo "eula=true" > eula.txt'
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"
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
sh "rm mods/DynmapBlockScan.jar"
}