Skip to content

Commit

Permalink
Fix jenkins startup command (ZFIN#1258)
Browse files Browse the repository at this point in the history
* Fix jenkins startup command
  • Loading branch information
rtaylorzfin authored Dec 10, 2024
1 parent ab8f03f commit e46dd22
Showing 1 changed file with 10 additions and 12 deletions.
22 changes: 10 additions & 12 deletions docker/jenkins/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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" \
]
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"

0 comments on commit e46dd22

Please sign in to comment.