Generate render data and persist.
This commit is contained in:
parent
bf8fdaaddc
commit
6501f76cda
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
@ -15,7 +15,7 @@ pipeline {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage("server launch test") {
|
stage("server launch") {
|
||||||
when {
|
when {
|
||||||
not {
|
not {
|
||||||
branch '**/sync-modpack'
|
branch '**/sync-modpack'
|
||||||
@ -24,10 +24,12 @@ pipeline {
|
|||||||
steps {
|
steps {
|
||||||
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 "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') {
|
lock('Port 25565') {
|
||||||
sh 'echo "stop" | ./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 "rm mods/DynmapBlockScan.jar"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage("commit changes") {
|
stage("commit changes") {
|
||||||
@ -37,6 +39,7 @@ pipeline {
|
|||||||
steps {
|
steps {
|
||||||
sh "git add mods/**"
|
sh "git add mods/**"
|
||||||
sh "git add config/**"
|
sh "git add config/**"
|
||||||
|
sh "git add dynmap/renderdata/**"
|
||||||
sh "git clean -dfX"
|
sh "git clean -dfX"
|
||||||
sh returnStatus: true, script: "git commit -m 'Automatic integration of latest modpack.'"
|
sh returnStatus: true, script: "git commit -m 'Automatic integration of latest modpack.'"
|
||||||
sshagent(['108c5045-64d1-42a6-acd7-a39da5e096d1']) {
|
sshagent(['108c5045-64d1-42a6-acd7-a39da5e096d1']) {
|
||||||
|
Binary file not shown.
4
scripts/load_block_scan.sh
Executable file
4
scripts/load_block_scan.sh
Executable file
@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
cd server/mods
|
||||||
|
curl -LOJR https://github.com/webbukkit/DynmapBlockScan/releases/download/v3.4-beta-1/DynmapBlockScan-3.4-beta-1-forge-1.18.jar
|
||||||
|
cd ../../
|
Loading…
Reference in New Issue
Block a user