File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ cd /workdir
1818if [ -f /workdir/project ]; then
1919 JAVA_VERSION=$( cat java-version)
2020elif [ -f /opt/mendix/modeler/mx ]; then
21- JAVA_VERSION=$( /opt/mendix/modeler/mx dump-mpr --unit-type ' Settings$ProjectSettings' /workdir/project/${MPR_FILENAME} | \
21+ JAVA_VERSION=$( /opt/mendix/modeler/mx dump-mpr --unit-type ' Settings$ProjectSettings' /workdir/project/" ${MPR_FILENAME} " | \
2222 jq -r ' .units[] | select(.["$Type"]=="Settings$ProjectSettings") | .["settingsParts"][] | select(.["$Type"]=="Settings$RuntimeSettings").javaVersion | if (. == null or . == "null") then "Java11" else . end' )
2323else
2424 JAVA_VERSION=11
@@ -33,4 +33,4 @@ $MXBUILD_COMMAND \
3333 --target=package \
3434 --java-home=${JDK_HOME} --java-exe-path=${JDK_HOME} /bin/java \
3535 --model-version=${MODEL_VERSION} \
36- --output=/workdir/output.mda /workdir/project/${MPR_FILENAME}
36+ --output=/workdir/output.mda /workdir/project/" ${MPR_FILENAME} "
You can’t perform that action at this time.
0 commit comments