持续集成学习6 jenkins自动化代码构建

一、实验目标

  

 二、配置

  1、配置mvn构建

[root@node1 ~]# wget https://mirrors.tuna.tsinghua.edu.cn/apache/maven/maven-3/3.5.4/binaries/apache-maven-3.5.4-bin.tar.gz
[root@node1 bin]# tail 1 /etc/profile
export PATH=$PATH:/application/mvn/apache-maven-3.5.4/bin

  2、配置变量方式

    a、在节点中配置

原文地址:https://www.cnblogs.com/Presley-lpc/p/11805318.html