jenkins



apt install fontconfig    openjdk-11-jre
wget   https://mirrors.tuna.tsinghua.edu.cn/jenkins/war/2.429/jenkins.war

deb包安装
wget https://mirrors.tuna.tsinghua.edu.cn/jenkins/debian-stable/jenkins_2.414.3_all.deb


dpkg -i jenkins_2.414.3_all.deb  

访问 http://192.168.1.51:8080/

添加凭证,后面任务添加job要用到

这个是gitlab创建的用户

jenkins_第1张图片

添加git仓库
http://192.168.1.50/devops/spring-boot-helloWorld.git/
jenkins_第2张图片

报错:ERROR: Couldn’t find any revision to build. Verify the repository and branch configuration for this job.
Finished: FAILURE

分支填写不正确
jenkins_第3张图片

你可能感兴趣的:(jenkins,运维)