<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Bitbucket on 公众号「沈显鹏」</title><link>https://shenxianpeng.dev/zh-cn/tags/bitbucket/</link><description>Recent content in Bitbucket 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>Thu, 12 Jun 2025 00:00:00 +0000</lastBuildDate><atom:link href="https://shenxianpeng.dev/zh-cn/tags/bitbucket/index.xml" rel="self" type="application/rss+xml"/><item><title>提升代码可追溯性：一招把 PR 描述写入 Git commit</title><link>https://shenxianpeng.dev/zh-cn/posts/2025/commit-message-template/</link><pubDate>Thu, 12 Jun 2025 00:00:00 +0000</pubDate><author>xianpeng.shen@gmail.com (沈显鹏)</author><guid>https://shenxianpeng.dev/zh-cn/posts/2025/commit-message-template/</guid><description>在 Bitbucket 中使用 Commit Message Templates 功能，将 PR 描述自动写入 Git commit message，确保关键信息不会随工具变更而丢失。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://shenxianpeng.dev/zh-cn/posts/2025/commit-message-template/featured.jpg"/></item><item><title>使用 REST API 添加或更新 Bitbucket 构建状态</title><link>https://shenxianpeng.dev/zh-cn/posts/2021/bitbucket-update-build-status/</link><pubDate>Sun, 25 Jul 2021 00:00:00 +0000</pubDate><author>xianpeng.shen@gmail.com (沈显鹏)</author><guid>https://shenxianpeng.dev/zh-cn/posts/2021/bitbucket-update-build-status/</guid><description>本文介绍如何通过 Bitbucket REST API 为指定提交添加或更新构建状态，并给出 Shell 脚本示例，适用于手动修复或补充构建状态的场景。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://shenxianpeng.dev/zh-cn/posts/2021/bitbucket-update-build-status/featured.jpg"/></item><item><title>建议在 Bitbucket/GitHub 中启用的仓库设置</title><link>https://shenxianpeng.dev/zh-cn/posts/2021/git-repository-settings/</link><pubDate>Tue, 12 Jan 2021 00:00:00 +0000</pubDate><author>xianpeng.shen@gmail.com (沈显鹏)</author><guid>https://shenxianpeng.dev/zh-cn/posts/2021/git-repository-settings/</guid><description>列出 Bitbucket 和 GitHub 仓库推荐启用的设置，包括禁止强制推送、分支保护、标签管理、合并检查以及提交信息规范等。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://shenxianpeng.dev/zh-cn/posts/2021/git-repository-settings/featured.jpg"/></item><item><title>通过 generic-webhook-trigger 插件实时获取 Bitbucket Repository Events</title><link>https://shenxianpeng.dev/zh-cn/posts/2020/bitbucket-pull-request-event/</link><pubDate>Fri, 07 Aug 2020 00:00:00 +0000</pubDate><author>xianpeng.shen@gmail.com (沈显鹏)</author><guid>https://shenxianpeng.dev/zh-cn/posts/2020/bitbucket-pull-request-event/</guid><description>本文介绍如何使用 Jenkins 的 generic-webhook-trigger 插件来实时获取 Bitbucket 仓库的事件信息，如 Pull Request ID 等。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://shenxianpeng.dev/zh-cn/posts/2020/bitbucket-pull-request-event/featured.jpg"/></item><item><title>如何将 Bitbucket 仓库同步到 GitHub</title><link>https://shenxianpeng.dev/zh-cn/posts/2020/sync-from-bitbucket-to-github/</link><pubDate>Tue, 05 May 2020 00:00:00 +0000</pubDate><author>xianpeng.shen@gmail.com (沈显鹏)</author><guid>https://shenxianpeng.dev/zh-cn/posts/2020/sync-from-bitbucket-to-github/</guid><description>介绍如何通过 Jenkins 将 Bitbucket 仓库的 master 分支同步到 GitHub。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://shenxianpeng.dev/zh-cn/posts/2020/sync-from-bitbucket-to-github/featured.jpg"/></item><item><title>Jenkins 与 Bitbucket Webhooks 的配置和使用</title><link>https://shenxianpeng.dev/zh-cn/posts/2020/bitbucket-webhooks/</link><pubDate>Tue, 28 Apr 2020 00:00:00 +0000</pubDate><author>xianpeng.shen@gmail.com (沈显鹏)</author><guid>https://shenxianpeng.dev/zh-cn/posts/2020/bitbucket-webhooks/</guid><description>本文介绍如何在 Jenkins 中配置 Bitbucket Webhooks，以便在创建 Pull Request 时自动触发 Jenkins 构建。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://shenxianpeng.dev/zh-cn/posts/2020/bitbucket-webhooks/featured.jpg"/></item></channel></rss>