全局配置
Configure System
添加SSH Server
凭据
添加全局凭据,以添加ssh key为例
Global Tool Configuration
配置JDK
查看JAVA_HOME的方法
[[email protected] apache-tomcat-7.0.78]# which java
/usr/bin/java
[[email protected] apache-tomcat-7.0.78]# ls -lrt /usr/bin/java
lrwxrwxrwx. 1 root root 22 7月 23 14:43 /usr/bin/java -> /etc/alternatives/java
[[email protected] apache-tomcat-7.0.78]# ls -lrt /etc/alternatives/java
lrwxrwxrwx. 1 root root 73 7月 23 14:43 /etc/alternatives/java -> /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.171-8.b10.el7_5.x86_64/jre/bin/java
#JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.171-8.b10.el7_5.x86_64
手动安装及配置Maven
#下载Maven
wget http://mirrors.tuna.tsinghua.edu.cn/apache/maven/maven-3/3.6.3/binaries/apache-maven-3.6.3-bin.zip
#解压
unzip apache-maven-3.6.3-bin.zip
#配置
vi /etc/profile
export M2_HOME=/home/root/apache-maven-3.6.3
export PATH=$PATH:${M2_HOME}/bin
#编译配置文件
source /etc/profile
#验证
mvn -version
#配置本地repository和镜像
vi /home/root/apache-maven-3.6.3/conf/settings.xml
<localRepository>/usr/local/.m2/repository</localRepository>
<mirror>
<id>aliyun-maven</id>
<mirrorOf>central</mirrorOf>
<name>aliyun maven mirror</name>
<url>https://maven.aliyun.com/repository/central</url>
</mirror>
安装NodeJS
使用Jenkins安装NodeJS
原文地址:https://www.cnblogs.com/AnotherBlue/p/12557190.html
时间: 2024-11-01 16:29:27