jenkins
jenkins学习
linkingfei
coder;
展开
-
Linux 安装Jenkins
转至元数据起始1.安装与配置安装并启动wget -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat-stable/jenkins.reporpm --import https://pkg.jenkins.io/redhat-stable/jenkins.io.keyyum install jenkinsservi...原创 2021-01-29 09:26:39 · 74 阅读 · 0 评论 -
通过API触发Jenkins构建
1、postman发送get请求postman请求格式如下:其中toekn在构建的任务中配置:此时调用会存在权限验证问题,需要配置权限:2、postman发送post请求需要生成一个API的token:3、带参数的触发构建使用2的权限验证方式,先开启接受参数:此处配置是通过参数传递命令:...原创 2021-01-11 09:07:23 · 1722 阅读 · 2 评论