使用war 包启动
test -f /etc/init.d/functions && . /etc/init.d/functions
daemon --user jenkins /usr/java/jdk1.8.0_202/bin/java \
-DJENKINS_HOME=/data0/data/jenkinsv2/data \
-jar jenkins.war --prefix=/jenkins --httpPort=9090 \
--logfile=/data0/data/jenkinsv2/logs/jenkins.log
常用插件
LDAP Plugin
Matrix Authorization Strategy
Build With Parameters
Git Parameter
Email Extension Template
忘记密码
参考:
https://github.com/naxhh/jenkins-php-docker
https://blog.couchbase.com/create-continuous-deployment-pipeline-golang-jenkins/
有疑问加站长微信联系(非本文作者)