Comments (2)
简单分析了一下大概流程应该是(逻辑都写在 jenkins-zh 的 Jenkinsfile 中):
- 在 wechat GitHub 仓库配置 webhook,webhook 指向 Jenkins。
- 让 Jenkins 接收来自 GitHub 的 webhook trigger。方法是:在 Jenkins pipeline 中使用 Generic Webhook Trigger 插件,并从 webhook 中拿到 PR number 及 PR 源代码的 commit。
- 下载指定 commit id 的 wechat 源码
- 构建
- ....其它操作
其它注意项及疑问
- 要有一个 GitHub 能请求得到的公网地址。
- Comment 相应的 PR,这个操作,目前看到可以使用 GitHub API 来实现。
- 构建后的站点地址是哪个地址?
附:
- GitHub PR 的 webhook 文档
- Generic Webhook Trigger 插件
from jenkins-zh.
目前可以用我的服务器来作为公网的服务器,但是,从长远来说,我们需要找到一个赞助商给我们提供服务器。
from jenkins-zh.
Related Issues (20)
- [转载] - 使用 Jenkins、Docker 构建部署 Serverless 应用 HOT 3
- [教程大纲] Jenkins 统一身份认证之 LDAP
- [教程大纲] Lighthouse HOT 4
- [教程大纲] Kubernetes 动态节点 HOT 3
- [教程大纲] Jenkins 中使用对象存储 minio HOT 5
- [教程大纲] Jenkins & OpenTelemetry HOT 2
- [教程大纲] 在 containerd 中运行 Jenkins
- [教程大纲] podman 中运行 Jenkins
- [教程大纲] Maven 基础教程 HOT 1
- [推荐] - Easily reuse Tekton and Jenkins X from Jenkins HOT 2
- [推荐] - Jenkins X 3.x GA is here! HOT 2
- [推荐] - Jenkins Operator becomes an official sub-project! HOT 1
- [推荐] - Easily reuse Tekton and Jenkins X from Jenkins HOT 1
- [推荐] - Paving the way for Jenkins interoperability in the Cloud HOT 1
- [教程大纲] Docker 以外的容器构建技术介绍 HOT 1
- [推荐] - Tutorial: Developing Complex Plugins for Jenkins HOT 1
- [教程大纲] Webhook 触发 Jenkins 流水线 HOT 3
- [推荐] - Configure Plugins with JCasC HOT 6
- [分享] 以Alibaba Dragonwell为例介绍AdoptOpenJdk构建测试流程 HOT 1
- [Suggestion] - HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jenkins-zh.