
简介
该用户还未填写简介
擅长的技术栈
可提供的服务
暂无可提供的服务
对于一些僵尸build,无法通过手动点击kill build,该如何处理?"Manage Jenkins" > "Script Console"第一种:def build = Jenkins.instance.getItemByFullName("xxxxx").getBuildByNumber(26522)build.doStop()build.doKill()第二种:强制杀除线程Thre
Android项目N版本切到O版本,同一个模块去mm,报C_INCLUDES must be under the source or output directories错误。后来才找到原因,是因为该模块我是软链接到Android的code下的,换成实体目录问题解决,N上也是软链接没有该问题。...
【代码】dockerfile 中激活conda并安装package。

当前版本libstdc++.so.6版本较低,不支持GLIBCXX_3.4.21,替换新的版本即可。# strings /usr/lib64/libstdc++.so.6 | grep GLIBCGLIBCXX_3.4GLIBCXX_3.4.1GLIBCXX_3.4.2GLIBCXX_3.4.3GLIBCXX_3.4.4GLIBCXX_3.4.5GLIBCXX_3.4.6GLIBCXX_3.4.7
获取某个commit的作者:$ git log --pretty=format:“%an” b29b8b608b4d00f85b5d08663120b286ea657b4a -1“liurizhou”获取某个commit的时间:git log --pretty=format:“%cd” b29b8b608b4d00f85b5d08663120b286ea657b4a -1...
转自:获取Jenkinsfile(Groovy)中给定文件夹中的文件名列表node {// ... check out code, whateverfinal foundFiles = findFiles(glob: 'dockerfiles/**/*')// do things with FileWrapper[]}另一种选择是掏空并捕获标准:node {// ... check out cod
来到新公司不久,主管安排一个jenkins 插件开发的小需求给我,让我练练手,之前从未接触过相关内容,一切从0开始,做了一个月,基本完成需求上的功能,期间遇到不少困难,记录做以总结。现阶段网上相关的指导还是比较匮乏,我个人觉得比较好的方法是:参考已有插件的源码!需求大致是这样的:点击进入某次历史编译,将本次上传至Artifactory的文件copy 到Artifactory中的release...
执行dockerfile过程中报错:OCI runtime create failed: container_linux.go:345: starting container process caused "chdir to cwd (\"/root/WS\") set in config.json failed: permission denied": unknownStep 10/1...
tmp/durable-d67c81b9/script.sh: source: not found in docker在jenkins中使用pipeline搭建工程,将脚本中docker run命令替换成 withDockerContainer格式源命令为:docker run -it --name xxx -v xxxxx imagename /bin/bash -c source bui...
工作中编译环境从centos7.4升级到centos8.1,编译出错。在rpm打包的时候报错内容如下:error: Empty %files file /jenkins/workspace/xxxx/output/rpmbuild/BUILD/xxxx/debugsourcefiles.list解决方法:rpmbuild 加上--nodebuginfo 参数。rpmbuild...







