hello!python!

随笔分类 -  jenkins

摘要:获取jenkins job的配置文件 http://ip:port/job/jobName/config.xml 阅读全文
posted @ 2023-03-30 10:58 你坚持了吗 阅读(161) 评论(0) 推荐(0) 编辑
摘要:jenkins 发送testng测试结果: 1、构建后操作添加 publish testng results,没有的可以先去安装插件 2、邮箱内容配置如下 <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>${PROJECT_NA 阅读全文
posted @ 2022-12-05 12:06 你坚持了吗 阅读(199) 评论(0) 推荐(0) 编辑
摘要:Jenkins 版本:2.346.1 接口调用报403,研究了一下发现了是jenkins的CSRF机制导致的,但是由于公司所用的jenkins版本较高,默认不支持关闭CSRF,所以需要在jenkins 控制台中手动关闭CSRF。 -Dhudson.security.csrf.GlobalCrumbI 阅读全文
posted @ 2022-12-02 22:14 你坚持了吗 阅读(610) 评论(0) 推荐(0) 编辑
摘要:邮箱服务器端口是587 解决方案: 启动脚本增加 -Dmail.smtp.starttls.enable=true -Dmail.smtp.ssl.trust=esmtp.*.com 阅读全文
posted @ 2022-12-02 22:12 你坚持了吗 阅读(134) 评论(0) 推荐(0) 编辑
摘要:1.下载多个项目 阅读全文
posted @ 2019-05-23 15:33 你坚持了吗 阅读(551) 评论(0) 推荐(0) 编辑
摘要:原因:git上配置的 ssh key是root的,但jenkins配置的执行用户是jenkins,导致权限问题 解决方案一 解决方案二 阅读全文
posted @ 2018-10-12 10:28 你坚持了吗 阅读(3364) 评论(0) 推荐(0) 编辑
摘要:1.参数化构建 2.增加环境变量 prepare an environment for the run,需要安装Environment Injector插件 阅读全文
posted @ 2018-02-26 17:04 你坚持了吗 阅读(2128) 评论(0) 推荐(0) 编辑
摘要:构建maven项目:Maven Release Plug-in Plug-in 常用: ace-editor.jpianalysis-model-api.jpiantisamy-markup-formatter.jpiant.jpiapache-httpcomponents-client-4-api 阅读全文
posted @ 2018-02-05 18:08 你坚持了吗 阅读(229) 评论(0) 推荐(0) 编辑
摘要:def heads= ("git ls-remote -h git@gitlab.com:*.git").execute()def headlist=heads.text.readLines().collect{it.split()[1]};def list=[''];list.addAll(hea 阅读全文
posted @ 2018-01-24 15:11 你坚持了吗 阅读(1152) 评论(0) 推荐(0) 编辑

hello!python!