首页 新闻 会员 周边

jenkins服务在哪里

0
悬赏园豆:5 [已解决问题] 解决于 2017-07-25 21:58

linux环境下成功安装jenkins(网页可以正常打开并操作),但是jenkins服务不知道在哪里

 

[root@jenkins init.d]# netstat -anp | grep 8080
tcp        0      0 :::8080                     :::*                        LISTEN      3445/java           
[root@jenkins init.d]# ps -ef | grep jenkins
root       2519   2504  0 04:27 pts/1    00:00:00 su - jenkins
jenkins    2521   2519  0 04:27 pts/1    00:00:00 -bash
jenkins    3445   2521  8 06:47 pts/1    00:01:24 java -jar jenkins.war
root       3737   2482  0 07:04 pts/0    00:00:00 grep jenkins
[root@jenkins init.d]# ls
abrt-ccpp         crond         ip6tables     messagebus      psacct       saslauthd       vmware-tools
abrtd             cups          iptables      netconsole      quota_nld    single          vmware-tools-thinprint
abrt-oops         dnsmasq       irqbalance    netfs           rdisc        smartd          wdaemon
acpid             firstboot     jexec         network         restorecond  snmpd           winbind
atd               functions     kdump         NetworkManager  rhnsd        snmptrapd       wpa_supplicant
auditd            haldaemon     killall       ntpd            rhsmcertd    spice-vdagentd
blk-availability  halt          lvm2-lvmetad  ntpdate         rngd         sshd
bluetooth         htcacheclean  lvm2-monitor  portreserve     rsyslog      sysstat
cpuspeed          httpd         mdmonitor     postfix         sandbox      udev-post
[root@jenkins init.d]# service jenkins status
jenkins: unrecognized service

qian@@jing的主页 qian@@jing | 初学一级 | 园豆:199
提问于:2017-07-13 14:23
< >
分享
最佳答案
0

/var/lib/jenkins/:默认的JENKINS_HOME

收获园豆:5
ycyzharry | 高人七级 |园豆:25651 | 2017-07-13 19:07

我的/var/lib下没有jenkins目录,感觉好多应该有的东西都没有

 

默认生成的.jenkins文件夹在jenkins用户下

qian@@jing | 园豆:199 (初学一级) | 2017-07-14 11:16
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册