- 博客(13)
- 收藏
- 关注
原创 jenkins调用jira参数实现Jenkins JIRA Pipeline Steps
1、获取参数信息node { stage('JIRA') { withEnv(['JIRA_SITE=hundsunjira']) { def fields = jiraGetFields idOrKey: 'TES-1' echo fields.data.toString() } }}显示结果:2、新增单个issuenod...
2018-08-30 17:32:19 3676 6
原创 jenkins与jira集成
一、插件准备1、jira中安装插件Jenkins Integration for JIRA Server2、Jenkins中安装插件JIRA Integration for JenkinsJira Issue UpdaterJIRA Pipeline StepsJIRA pluginJIRA Trigger PluginJiraTestResultReporter plu...
2018-08-23 18:27:55 12670 1
原创 通过java web代理将docker容器配置为jenkins节点
1、安装centos镜像docker search centos //查找镜像docker pull centos //安装镜像docker images //查看镜像2、创建容器docker run --privileged -ti -v /home...
2018-08-21 10:09:54 1425
原创 使用阿里云资源在centos7上配置docker安装gitlab、mysql、jira
Docker要求64位的系统且内核版本至少为3.10一、安装docker1、添加yum源。yum install epel-release –yyum clean allyum list2、安装并运行Docker。yum install docker-io –ysystemctl start docker3、检查安装结果docker info二、...
2018-08-13 15:11:25 4266 1
原创 centos安装docker
1、更新系统sudo yum update2、安装软件包(yum-util 提供yum-config-manager功能,另外两个是devicemapper驱动依赖的)yum install -y yum-utils device-mapper-persistent-data lvm23、配置yum源yum-config-manager --add-repo https:...
2018-08-13 15:05:24 285
原创 centos7系统常用配置
1、centos7中没有ifconfig安装net-tools即可yum install -y net-tools2、关闭selinux查看selinux状态:getenforce临时关闭:setenforce 0永久关闭selinux:vi /etc/selinux/config将SELINUX=enforcing改为SELINUX=disabled ,重启后...
2018-08-13 14:17:51 757
原创 基于Git的源代码管理模型——git flow
Git Flow 是什么Git Flow是构建在Git之上的一个组织软件开发活动的模型,是在Git之上构建的一项软件开发最佳实践。Git Flow是一套使用Git进行源代码管理时的一套行为规范,可实现了软件开发过程不同操作的相互隔离。这种软件开发的活动模型被称为“Git Flow”。Git FlowGit Flow中的分支Git Flow模型中定义了主分支和辅助分支两类分支。...
2018-08-10 17:16:58 279
原创 jenkins启动一直显示 Jenkins正在启动,请稍后...
cd .jenkins/updates/vim default.json把 "connectionCheckUrl":"http://www.google.com/" 改为 "connectionCheckUrl":"http://www.baidu.com/"
2018-08-10 14:20:36 4412 1
原创 jira与gitlab关联
git代码提交时,commit message关联jira单号即可在对应jira页面中查看代码提交记录,也可在jira中直接创建分支和merge请求。【应用程序】-【git仓库】-【gitlab】,选择【Gitlab Server】-输入url和token-【连接】在jira中安装git Integration for Jira插件。1、jira中的配置。
2018-08-10 10:17:38 12413 5
转载 GitLab 502问题的解决
GitLab一直出现错误502错误。502 GitLab is not responding. Please contact your GitLab administrator if this problem persists.经过一个下午的查找终于发现了错误,原来是在服务器上还开启了一个tomcat服务,占用了8080端口,使GitLab的unicorn服务不能开启。 最后...
2018-08-10 09:41:04 8402
原创 svn安装并配置多仓库统一管理
安装svnyum -y install subversion创建svn仓库目录mkdir /var/svn/svnrepo/设置svn仓库路径cd /var/svn/svnrepo/svnserve -d -r ./创建用户文件authz和密码文件passwdvim authzvim passwd创建svn仓库svnadmin create /v...
2018-08-07 15:00:04 1544
原创 Git常见问题解决
1、远程操作遇到error: failed to push some refs to问题解决方法如果本地分支是dev,git pull--rebase origin devgit push -u origin dev
2018-08-07 09:32:53 183
转载 gitlab安装及使用
一、安装gitlab1、配置yum源vim /etc/yum.repos.d/gitlab-ce.repo复制以下内容: [gitlab-ce]name=Gitlab CE Repositorybaseurl=https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el$releasever/gpgcheck=0e...
2018-08-02 14:51:08 362
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人