
git & Jenkins
文章平均质量分 77
git & Jenkins
Nightwish5
Can you share , share you can
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Jenkins构建通知企业微信报错protocol is disabled or cipher suites are inappropriate和handshake_failure
环境:centos7 、 Jenkins 2.289.3 、 jdk1.8搭建参考:https://www.cnblogs.com/douyi/p/12463361.html 《jenkins-job构建完成后通知企业微信》报错一:javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate)网上博客建议是修改java.secu原创 2021-08-19 17:47:23 · 1039 阅读 · 0 评论 -
Jenkins使用pipeline构建maven项目 & 配置Git hook自动触发构建(webhook)
a)生成一个pull stage可以在流水线语法里选择 片段生成器然后选择checkout from version controller,拉取代码选择类型为git,填写好git项目地址,填写拉取分支名字生成流水线脚本,脚本里就包含了凭证信息填写到流水线中后,点击保存—构建—就看到了拉取的日志b)生成一个构建stage选择sh:shell script输入mvc clean package,点击生成脚本,然后再把该片段复制到流水线中去保存后再构建c)生成一个部署stage原创 2021-08-11 14:35:37 · 1034 阅读 · 0 评论 -
Jenkins使用pipeline(静态html项目)
使用之前的静态html项目来做pipeline。1、pipeline概念2、Jenkins file有两种语法分别为 脚本式和声明式 。 这里使用声明式语法,下面是个demopipeline { agent any stages { stage('get code') { steps { echo 'get code from scm' } }原创 2021-08-06 17:35:03 · 820 阅读 · 0 评论 -
Jenkins部署jeesns (构建maven项目)
项目地址: https://gitee.com/zchuanzhao/jeesns代码:git clone https://gitee.com/zchuanzhao/jeesns.git配置数据库26.137 --> mysql 5.7下载后数据库文件为: jeesns\jeesns-web\database\jeesns.sqlmysql -uroot -p -e 'create database jeesns character set utf8 collate utf8_bin;'原创 2021-08-06 14:41:18 · 516 阅读 · 2 评论 -
Jenkins学习(执行命令路径,脚本上传静态html代码)(一)
Jenkins的安装可参考https://www.cnblogs.com/yangzp/p/12953810.htmlsudo wget -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat-stable/jenkins.reposudo rpm --import https://pkg.jenkins.io/redhat-stable/jenkins.io.keyyum install jenkins -y一、jenkin原创 2021-08-05 13:08:37 · 946 阅读 · 0 评论 -
GitHub 和 gitlab 的使用
一、GitHub的使用1.1 创建GitHub repositoryGitHub给的操作提示#在上个博客git内容做的操作。 目录为 /root/shellDir/git_data#添加到远程仓库,并且命名为origingit remote add origin [email protected]:chipingguo/git_data.git#查看当前远程仓库的名称git remote## -M Move/rename a branch even if the new原创 2021-08-04 15:21:18 · 468 阅读 · 0 评论 -
git常用的基础命令
一、git常用的基础命令1.1 git安装 / 配置yum install git -y#配置用户信息git config --global user.name "oldhei"git config --global user.email "[email protected]"git config --global color.ui true[root@memcache137 ~]# git config [email protected]原创 2021-08-02 16:43:12 · 606 阅读 · 0 评论