<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Pipeline on 公众号「沈显鹏」</title><link>https://shenxianpeng.dev/zh-cn/tags/pipeline/</link><description>Recent content in Pipeline on 公众号「沈显鹏」</description><generator>Hugo -- gohugo.io</generator><language>zh-cn</language><managingEditor>xianpeng.shen@gmail.com (沈显鹏)</managingEditor><webMaster>xianpeng.shen@gmail.com (沈显鹏)</webMaster><copyright>Copyright © 2017–2026 Xianpeng Shen. All rights reserved.</copyright><lastBuildDate>Sun, 12 Jul 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://shenxianpeng.dev/zh-cn/tags/pipeline/index.xml" rel="self" type="application/rss+xml"/><item><title>Jenkinsfile Lint 1.5.0 发布：不需要 Jenkins 服务器的 Standalone 模式</title><link>https://shenxianpeng.dev/zh-cn/posts/2026/jenkinsfilelint-standalone/</link><pubDate>Sun, 12 Jul 2026 00:00:00 +0000</pubDate><author>xianpeng.shen@gmail.com (沈显鹏)</author><guid>https://shenxianpeng.dev/zh-cn/posts/2026/jenkinsfilelint-standalone/</guid><description>之前 jenkinsfilelint 需要连接一个可用的 Jenkins 服务器才能做语法校验。现在 v1.5.0 新增了 standalone 模式，只需要有 Docker，就能在本地启动一个最小 Jenkins 环境来验证 Jenkinsfile 语法。这篇文章详细介绍这个模式的实现思路和用法。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://shenxianpeng.dev/zh-cn/posts/2026/jenkinsfilelint-standalone/featured.jpg"/></item><item><title>原本只想提个文档 PR，结果项目进了 Jenkins 官方组织</title><link>https://shenxianpeng.dev/zh-cn/posts/2026/jenkinsfilelint/</link><pubDate>Tue, 09 Jun 2026 00:00:00 +0000</pubDate><author>xianpeng.shen@gmail.com (沈显鹏)</author><guid>https://shenxianpeng.dev/zh-cn/posts/2026/jenkinsfilelint/</guid><description>我写了一个验证 Jenkinsfile 的小工具，原本只是想让它出现在 Jenkins 官方的开发工具列表里。结果 Jenkins 维护者提议：不如直接把项目转进 jenkinsci 组织？这篇文章记录了从 PR 到 transfer 再到官方博客的完整过程，包括中间踩的一个很有意思的坑。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://shenxianpeng.dev/zh-cn/posts/2026/jenkinsfilelint/featured.jpg"/></item><item><title>三种方法解决 Jenkins 声明式流水线 Exception Method code too large !</title><link>https://shenxianpeng.dev/zh-cn/posts/2020/jenkins-troubleshooting/</link><pubDate>Mon, 20 Apr 2020 00:00:00 +0000</pubDate><author>xianpeng.shen@gmail.com (沈显鹏)</author><guid>https://shenxianpeng.dev/zh-cn/posts/2020/jenkins-troubleshooting/</guid><description>本文介绍了三种方法来解决 Jenkins 声明式流水线中出现的 &amp;ldquo;Method code too large&amp;rdquo; 异常，包括将步骤放到管道外的方法、从声明式迁移到脚本式管道以及使用 Shared Libraries。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://shenxianpeng.dev/zh-cn/posts/2020/jenkins-troubleshooting/featured.jpg"/></item><item><title>如何通过 Jenkins 进行资源的锁定和释放</title><link>https://shenxianpeng.dev/zh-cn/posts/2019/jenkins-lock-resource/</link><pubDate>Sat, 10 Aug 2019 00:00:00 +0000</pubDate><author>xianpeng.shen@gmail.com (沈显鹏)</author><guid>https://shenxianpeng.dev/zh-cn/posts/2019/jenkins-lock-resource/</guid><description>本文介绍了如何使用 Jenkins 的 Lockable Resources 插件来管理和锁定资源，确保在多任务环境中资源的独占性和安全性。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://shenxianpeng.dev/zh-cn/posts/2019/jenkins-lock-resource/featured.jpg"/></item><item><title>在大型企业里维护多分支流水线</title><link>https://shenxianpeng.dev/zh-cn/posts/2019/jenkins-multi-branch-pipeline/</link><pubDate>Tue, 06 Aug 2019 00:00:00 +0000</pubDate><author>xianpeng.shen@gmail.com (沈显鹏)</author><guid>https://shenxianpeng.dev/zh-cn/posts/2019/jenkins-multi-branch-pipeline/</guid><description>如果没有适当的解决方案，在大型企业可能难以创建和维护多分支流水线。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://shenxianpeng.dev/zh-cn/posts/2019/jenkins-multi-branch-pipeline/featured.jpg"/></item><item><title>通过 Jenkins 来提交修改的代码 git push by Jenkins</title><link>https://shenxianpeng.dev/zh-cn/posts/2019/git-push-by-jenkins/</link><pubDate>Mon, 22 Jul 2019 00:00:00 +0000</pubDate><author>xianpeng.shen@gmail.com (沈显鹏)</author><guid>https://shenxianpeng.dev/zh-cn/posts/2019/git-push-by-jenkins/</guid><description>如何通过 Jenkins Pipeline 脚本来提交修改的代码到 Git 仓库，包括克隆仓库、修改代码和推送更改等步骤。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://shenxianpeng.dev/zh-cn/posts/2019/git-push-by-jenkins/featured.jpg"/></item><item><title>在 Jenkins pipeline 中执行 sudo 的时候不需要输入密码</title><link>https://shenxianpeng.dev/zh-cn/posts/2019/execute-sudo-without-password/</link><pubDate>Tue, 16 Jul 2019 00:00:00 +0000</pubDate><author>xianpeng.shen@gmail.com (沈显鹏)</author><guid>https://shenxianpeng.dev/zh-cn/posts/2019/execute-sudo-without-password/</guid><description>本文介绍了如何在 Jenkins Pipeline 中执行 sudo 命令而无需输入密码，提供了具体的实现方法和示例代码。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://shenxianpeng.dev/zh-cn/posts/2019/execute-sudo-without-password/featured.jpg"/></item><item><title>Jenkinsfile example - 实现交互、clone 多个仓库以及 git push</title><link>https://shenxianpeng.dev/zh-cn/posts/2019/jenkinsfile-example/</link><pubDate>Sun, 07 Jul 2019 00:00:00 +0000</pubDate><author>xianpeng.shen@gmail.com (沈显鹏)</author><guid>https://shenxianpeng.dev/zh-cn/posts/2019/jenkinsfile-example/</guid><description>这个 Jenkinsfile 示例展示了如何在 Jenkins Pipeline 中实现交互式输入、克隆多个 Git 仓库，并在构建完成后将代码推送到远程仓库。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://shenxianpeng.dev/zh-cn/posts/2019/jenkinsfile-example/featured.jpg"/></item><item><title>GitSCM clone code don't display branch</title><link>https://shenxianpeng.dev/zh-cn/posts/2019/gitscm-clone-code-don-t-display-branch/</link><pubDate>Tue, 14 May 2019 00:00:00 +0000</pubDate><author>xianpeng.shen@gmail.com (沈显鹏)</author><guid>https://shenxianpeng.dev/zh-cn/posts/2019/gitscm-clone-code-don-t-display-branch/</guid><description>如何在 Jenkins 中使用 GitSCM插件克隆代码时，确保正确显示分支信息，避免出现 HEAD detached 状态的问题。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://shenxianpeng.dev/zh-cn/posts/2019/gitscm-clone-code-don-t-display-branch/featured.jpg"/></item><item><title>Jenkinsfile 配置</title><link>https://shenxianpeng.dev/zh-cn/posts/2018/jenkinsfile-configure/</link><pubDate>Sat, 14 Apr 2018 00:00:00 +0000</pubDate><author>xianpeng.shen@gmail.com (沈显鹏)</author><guid>https://shenxianpeng.dev/zh-cn/posts/2018/jenkinsfile-configure/</guid><description>本文介绍了如何使用 Jenkinsfile 配置 Jenkins Pipeline，包括构建、测试和发布阶段的示例，以及如何处理邮件通知。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://shenxianpeng.dev/zh-cn/posts/2018/jenkinsfile-configure/featured.jpg"/></item></channel></rss>