docker安装jenkins打包springboot项目

https://www.cnblogs.com/ming-blogs/p/10903408.html

----------------------------------------------------------------------------------
docker run -p 8080:8080 -p 50000:50000 -v jenkins_data:/var/jenkins_home jenkinsci/blueocean
jenkins登陆密码 8a97ff7238f84384915dbdfb5ba23270
宿主机目录:/var/lib/docker/volumes/jenkins_data
宿主机打出的jar包目录:/var/lib/docker/volumes/jenkins_data/.m2/repository/com/csi/bebe/0.0.1-SNAPSHOT/bebe-0.0.1-SNAPSHOT.jar
容器打出的jar package路径/var/jenkins_home/.m2/repository/com/csi/bebe/0.0.1-SNAPSHOT/bebe-0.0.1-SNAPSHOT.jar
Jenkins Maven Integration安装的maven路径,修改conf/setting.xml。设置阿里云镜像
/var/jenkins_home/tools/hudson.tasks.Maven_MavenInstallation/maven3.6.1


     
        nexus-aliyun
        *
        Nexus aliyun
        http://maven.aliyun.com/nexus/content/groups/public
     
 

你可能感兴趣的:(docker安装jenkins打包springboot项目)