Being able to launch builds on several projects (OD-491)
Stephen S opened 4 years ago

The processs would go like this:

  1. Select Projects in the left sidebar
  2. Check several projects in the list
  3. in the Operations local menu, select Build menu line (which does not currently exist)
  • Robin Shen changed state to 'Closed' 4 years ago
    Previous Value Current Value
    Open
    Closed
  • Robin Shen commented 4 years ago

    Providing a common mechanism to run multiple builds from different projects has problems, such as different job may have different parameters and may need to run on different branches/tags . I'd suggest to add the logic to your build script, that is: to fire build in different projects with curl via OneDev's restful api.

  • Stephen S commented 4 years ago

    Yes you might well be right although my guess is that most users will build on master branches (80% vs 20%). But the curl idea is great. Could you write a documentation on the API when you have some time?

  • Robin Shen commented 4 years ago

    RESTful api help here:

    2021-12-21_10-58-19.png

  • Robin Shen commented 4 years ago

    The job run endpoint can be used to submit build jobs

  • Stephen S commented 4 years ago

    Thanks, will try tomorrow.

issue 1/1
Type
Improvement
Priority
Normal
Assignee
Issue Votes (0)
Watchers (3)
Reference
OD-491
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover