parent
d7991fc53c
commit
775a4efcdd
|
@ -34,7 +34,7 @@ pipeline {
|
|||
steps {
|
||||
withCredentials([file(credentialsId: 'discordintegration.test.config', variable: 'CONFIG_FILE')]) {
|
||||
sh 'mkdir -p run/config/Chikachi'
|
||||
sh 'cp "$CONFIG_FILE" ./run/config/Chikachi/'
|
||||
sh 'cp "$CONFIG_FILE" ./'
|
||||
dir('serverTest') {
|
||||
sh 'npm update'
|
||||
sh 'tsc'
|
||||
|
|
|
@ -67,14 +67,13 @@ getVersions()
|
|||
.acceptEULA()
|
||||
.useServerProperties()
|
||||
.setServerDirectory(serverDirectory)
|
||||
.setAutoRemoveData(false)
|
||||
.addLocalMod(modFilepath)
|
||||
.addConfigFile(pathResolve('..', 'discordintegration.json'), ['Chikachi'])
|
||||
.setDelayBeforeCommands(5000)
|
||||
.addCommand(`/say Hello from ${minecraftVersion}`);
|
||||
|
||||
return tester.installForge()
|
||||
.then(() => tester.runServer())
|
||||
.then(() => tester.removeOldData());
|
||||
.then(() => tester.runServer());
|
||||
})
|
||||
.catch(err => {
|
||||
console.error(err);
|
||||
|
|
Loading…
Reference in New Issue