标签:eof port style tar.gz int jenkins发布 tun 3.3 环境变量
安装java省略,下面是环境变量 export JAVA_HOME=/usr/java/jdk1.8.0_65/ export PATH=$JAVA_HOME/bin:$PATH export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar 安装maven wget http://mirrors.tuna.tsinghua.edu.cn/apache/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.tar.gz tar xf apache-maven-3.3.9-bin.tar.gz -C /usr/local/ cat >> /etc/profile << ‘EOF‘ export M2_HOME=/usr/local/apache-maven-3.3.9 export MAVEN_HOME=/usr/local/apache-maven-3.3.9 export PATH=$M2_HOME/bin:$PATH EOF source /etc/profile 验证 mvn -v jenkins安装插件 Maven Integration plugin
标签:eof port style tar.gz int jenkins发布 tun 3.3 环境变量
原文地址:https://www.cnblogs.com/shansongxian/p/9771730.html