How to enforce Jenkins to use TLS 1.2

摘要: Problem: security scan reports "Vulnerabilities: 20007 - SSL Version 2 and 3 Protocol Detection" against jenkins server.Resolution: enforce Jenkins to 阅读全文
posted @ 2019-01-23 08:35 熊gg 阅读(638) 评论(0) 推荐(0) 编辑

com.sun.mail.smtp.SMTPAddressFailedException: 454 4.7.1

摘要: Problem: Use SMTP service on linux, send mail to xxxxxx@domain.aaa.com.cn successfully. But send mail to xxxxxx@domain.bbb.com.cn, error as below. Fai 阅读全文
posted @ 2019-01-16 11:25 熊gg 阅读(3681) 评论(0) 推荐(0) 编辑

git常用命令

摘要: 学习了Git教程:https://www.liaoxuefeng.com/wiki/0013739516305929606dd18361248578c67b8067c8c017b000 笔记: git log // 查看提交历史git log -n // 最后n次提交的信息git log --pre 阅读全文
posted @ 2018-12-29 20:33 熊gg 阅读(126) 评论(0) 推荐(0) 编辑

jenkins job起停远程slave机器上的系统服务

摘要: 目标:jenkins job起停远程slave机器上的系统服务问题1: 将jenkins用户加到root和wheel用户组后,执行系统命令时提示输入密码[jenkins@hostname ~]$ groupsjenkins root wheel docker[jenkins@hostname ~]$ 阅读全文
posted @ 2017-11-28 11:50 熊gg 阅读(255) 评论(0) 推荐(0) 编辑

邮件服务器postfix,saslauthd,dovecot安装配置提供SMTP服务

摘要: 背景:Jenkins pipeline执行完成后把结果通过email发送给相关人员。配置Jenkins E-mail notification时需要指定SMTP server。因此,需要在服务器上安装配置提供SMTP服务。 前提:linux服务器的<hostname>.<mydomain> (e.g 阅读全文
posted @ 2017-10-19 13:52 熊gg 阅读(608) 评论(0) 推荐(0) 编辑

为Jenkins添加slave node

摘要: Linux slave机器上: Jenkins 上: 阅读全文
posted @ 2017-09-18 15:55 熊gg 阅读(3563) 评论(0) 推荐(0) 编辑

pom.xml 转化为 ivy.xml

摘要: Converting maven pom to ivy原文:http://vafer.org/blog/20081030002755/把pom.xml和build.xml放到同一目录下,执行ant,就会在该目录下生成ivy.xml build.xml<project name="convertPom 阅读全文
posted @ 2017-09-18 15:40 熊gg 阅读(1090) 评论(0) 推荐(0) 编辑

gradle 处理 properties file

摘要: 读取多个properties file,合并后写入到一个properties file里。 task mergeProp << { def props = new Properties() ['file1.properties','file2.properties'].each { props.lo 阅读全文
posted @ 2017-09-18 15:39 熊gg 阅读(808) 评论(0) 推荐(0) 编辑

从reps下载jar,然后unzip test jar,再执行junit测试

摘要: gradle脚本如下: dependencies { compile 'com.test.attachment:attachment:1.0-SNAPSHOT' compile group:'org.eclipse.emf.commonj', name:'sdo', version:'2.3+', 阅读全文
posted @ 2017-09-11 15:10 熊gg 阅读(151) 评论(0) 推荐(0) 编辑

安装Ant&ivy

摘要: 1. 安装JDK配置环境变量:JAVA_HOME:C:\Java80Path:%JAVA_HOM%\bin;%JAVA_HOME%\jre\bin;CLASS_PATH: .;%JAVA_HOME%\lib\dt.jar;%JAVA_HOME%\lib\tools.jar2. 安装Ant官网下载安装 阅读全文
posted @ 2017-06-25 17:44 熊gg 阅读(121) 评论(0) 推荐(0) 编辑