Set up trial run script.

This commit is contained in:
2022-05-13 16:50:40 -05:00
parent ff8928f62d
commit 6f43e0fa37
2 changed files with 8 additions and 2 deletions

4
Jenkinsfile vendored
View File

@@ -4,10 +4,10 @@ pipeline {
stage("server trial") {
steps {
sh 'echo "eula=true" > eula.txt'
sh "chmod u+x ./run.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"
lock('Port 25565') {
sh 'echo "stop" | ./run.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"