Skip to content

Commit

Permalink
Remove copying datapacks (no longer needed thanks to Open Loader)
Browse files Browse the repository at this point in the history
  • Loading branch information
coryjreid committed Aug 13, 2023
1 parent 5e8f407 commit 93af5c3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ pipeline {
steps {
script {
String removeCommand = 'rm -rf $SERVER_DIR/'
def dirs = ['config', 'defaultconfigs', 'kubejs', 'logs', 'local', 'mods', 'scripts', 'world/serverconfig', 'world/datapacks']
def dirs = ['config', 'defaultconfigs', 'kubejs', 'logs', 'local', 'mods', 'scripts', 'world/serverconfig']
for (int i = 0; i < dirs.size(); i++) {
sh removeCommand + dirs[i]
}
Expand All @@ -41,8 +41,6 @@ pipeline {
stage('Setup new world config') {
steps {
sh 'mv $WORKSPACE/defaultconfigs $SERVER_DIR/world/serverconfig'
sh 'mkdir $SERVER_DIR/world/datapacks'
sh 'cp -r $WORKSPACE/global_packs/required_data/* $SERVER_DIR/world/datapacks'
}
}
stage('Restart server') {
Expand Down

0 comments on commit 93af5c3

Please sign in to comment.