我是詹金斯的新手并且正在阅读“学习与詹金斯的持续整合”。作者写道:“Jenkins可以作为服务安装在以下[Java EE]容器中:Apache Geronimo 3.0,GlassFish ......”(我认为他的意思是Java EE服务器,而不是容器)。为了学习这个软件,我使用https://hub.docker.com/_/jenkins/
在一个Docker容器中安装了Jenkins鉴于引用并且鉴于我看到进程java -jar /usr/share/jenkins/jenkins.war
,我怀疑Jenkins是在Java EE服务器内运行的(Java SE无法运行.war可以吗?),但我如何确定哪个Java EE服务器?是GlassFish,WebSphere,WildFly,JBoss吗?
到目前为止我尝试过:
jenkins@7154f0e43294:/$ java -version
openjdk version "1.8.0_151"
OpenJDK Runtime Environment (build 1.8.0_151-8u151-b12-1~deb9u1-b12)
OpenJDK 64-Bit Server VM (build 25.151-b12, mixed mode)
jenkins@7154f0e43294:/$
jenkins@7154f0e43294:/$ find /opt
/opt
jenkins@7154f0e43294:/$
jenkins@7154f0e43294:/$ find / -iname "*glass*" 2>/dev/null
jenkins@7154f0e43294:/$
jenkins@7154f0e43294:/$ which java
/usr/bin/java
jenkins@7154f0e43294:/$
jenkins@7154f0e43294:/$ ps -auwxf
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
jenkins 1629 0.0 0.0 19964 3656 pts/0 Ss 21:28 0:00 /bin/bash
jenkins 1712 0.0 0.0 38384 3140 pts/0 R+ 21:58 0:00 \_ ps -auwxf
jenkins 1 0.0 0.0 1108 4 ? Ss 19:57 0:00 /bin/tini -- /usr/local/bin/jenkins.sh
jenkins 7 1.7 10.6 9988328 1741020 ? Sl 19:57 2:04 java -jar /usr/share/jenkins/jenkins.war
jenkins@7154f0e43294:/$