Set up trial run script.
This commit is contained in:
parent
ff8928f62d
commit
6f43e0fa37
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@ -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"
|
||||
|
6
run_trial.sh
Executable file
6
run_trial.sh
Executable file
@ -0,0 +1,6 @@
|
||||
#!/usr/bin/env sh
|
||||
# Forge requires a configured set of both JVM and program arguments.
|
||||
# Add custom JVM arguments to the user_jvm_args.txt
|
||||
# Add custom program arguments {such as nogui} to this file in the next line before the "$@" or
|
||||
# pass them to this script directly
|
||||
java -Xmx4G @libraries/net/minecraftforge/forge/1.18.2-40.1.19/unix_args.txt "$@"
|
Loading…
Reference in New Issue
Block a user