diff --git a/docker/jenkins/Dockerfile b/docker/jenkins/Dockerfile index d1e1ffb055..7c9680d353 100644 --- a/docker/jenkins/Dockerfile +++ b/docker/jenkins/Dockerfile @@ -96,15 +96,13 @@ RUN cat /tmp/bash_profile >> /home/gradle/.profile #CMD ["/usr/bin/tcsh"] #CMD ["/bin/bash","-l"] -CMD ["/bin/bash", "-l", "-c", \ - "/opt/java/openjdk/bin/java", \ - "--add-opens", "java.base/java.lang=ALL-UNNAMED", \ - "--add-opens", "java.base/java.lang.reflect=ALL-UNNAMED", \ - "--add-opens", "java.desktop/java.awt=ALL-UNNAMED", \ - "-Dinstance=docker", \ - "-jar", "/opt/zfin/source_roots/zfin.org/server_apps/jenkins/jenkins-2.479.2.war", \ - "--httpPort=9499", \ - "--sessionTimeout=604800", \ - "--sessionEviction=604800", \ - "--prefix=/jobs" \ -] \ No newline at end of file +CMD /bin/bash -l -c "/opt/java/openjdk/bin/java \ + --add-opens java.base/java.lang=ALL-UNNAMED \ + --add-opens java.base/java.lang.reflect=ALL-UNNAMED \ + --add-opens java.desktop/java.awt=ALL-UNNAMED \ + -Dinstance=docker \ + -jar /opt/zfin/source_roots/zfin.org/server_apps/jenkins/jenkins-2.479.2.war \ + --httpPort=9499 \ + --sessionTimeout=604800 \ + --sessionEviction=604800 \ + --prefix=/jobs"