Can Hudson be configured to build every revision?

前端 未结 5 1455
终归单人心
终归单人心 2021-02-06 07:45

I\'ve started experimenting with Hudson as a build server. I\'m using subversion and have it configured to poll every minute. The issue I\'m seeing is that if a build at revisio

5条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-02-06 08:40

    In SCM part of build configuration you should have Build Triggers section and option "Trigger builds remotely (e.g., from scripts)". According to help info next to that option you can script post-commit action so every commit would fire new build. As hudson has build's queue you should have every revision built.

    Here's a link that could help you: https://hudson.dev.java.net/build.html

    Here's example how to start build job with parameters (see to my comment for details): http://wiki.hudson-ci.org/display/HUDSON/Parameterized+Build

提交回复
热议问题