nodejs / nodejs/github-bot

Jenkins CI status: Bot should not look for latest commit in PR

未關閉
#157 4 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

主要語言
JavaScript
星號
305
分支
148
平均合併
9 小時 2 分鐘
30 天內合併 PR
3

描述

Right now the bot looks for the latest commit in a PR, but it should refer to the commit that the build was kicked off for.

It seems like there’s a commit field in the Jenkins push event body, so that should be pretty simple to do, I just don’t really know how to test this?

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

研究方向

首先追蹤 Jenkins push 事件的處理,並檢查事件本文中的 commit 欄位,以及 bot 目前尋找 PR 最新 commit 的方式。確認 Jenkins 狀態處理使用的是觸發建置的 commit,並判斷如何利用 repository 現有的測試設定來測試此行為。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
github, javascript
領域
ci-cd
Issue 類型
缺陷
難度
3/5
預估耗時
1-2 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。