diff --git a/build-minecraft.jenkins b/build-minecraft.jenkins index 336b411..fbba31e 100644 --- a/build-minecraft.jenkins +++ b/build-minecraft.jenkins @@ -105,7 +105,7 @@ USER minecraft WORKDIR /minecraft/data -CMD ["java", "-Xms${memoryMin}", "-Xmx${memoryMax}", "-jar ../paper-mc.jar"] +CMD ["../paper-mc.jar", "-Xms${memoryMin}", "-Xmx${memoryMax}"] """ writeFile(file: workspace + '/Dockerfile', text: dockerFile) }