Code Monkey home page Code Monkey logo

Comments (2)

zacker330 avatar zacker330 commented on May 29, 2024

简单分析了一下大概流程应该是(逻辑都写在 jenkins-zh 的 Jenkinsfile 中):

  1. 在 wechat GitHub 仓库配置 webhook,webhook 指向 Jenkins。
  2. 让 Jenkins 接收来自 GitHub 的 webhook trigger。方法是:在 Jenkins pipeline 中使用 Generic Webhook Trigger 插件,并从 webhook 中拿到 PR number 及 PR 源代码的 commit。
  3. 下载指定 commit id 的 wechat 源码
  4. 构建
  5. ....其它操作

其它注意项及疑问

  1. 要有一个 GitHub 能请求得到的公网地址。
  2. Comment 相应的 PR,这个操作,目前看到可以使用 GitHub API 来实现。
  3. 构建后的站点地址是哪个地址?

附:

from jenkins-zh.

LinuxSuRen avatar LinuxSuRen commented on May 29, 2024

目前可以用我的服务器来作为公网的服务器,但是,从长远来说,我们需要找到一个赞助商给我们提供服务器。

from jenkins-zh.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.