|
Dennis Becker opened 2 months ago
|
||||
![]() |
This is a new change since 10.6. For a particular commit and param combo, only a single build will be generated. This is in order not to run unnecesssary jobs, for instance, when run a downstream job when upstream job already exists. If you always want to generate new build even on same commit, just create an optional job param, and pass something unique each time triggering the job, for instance current timestamp. |
||||
![]() |
Robin Shen changed state to 'Closed' 2 months ago
|
||||
|
Okay, will try that. I like to have an ordered history with build numbers, because my code does not change but the website built by the job changes due to new data from a REST API. If I would like to use a required built parameter, how could I send it with the webhook? Just add it to the webhook query parameters? |
||||
![]() |
Yes. Make sure its name not conflicts with pre-defined paramerters: https://code.onedev.io/~help/api/io.onedev.server.rest.resource.TriggerJobResource/triggerJobViaGet |
Type |
Bug
|
Priority |
Minor
|
Assignee | |
Affected Versions |
10.7.1
|
Labels |
No labels
|
On my local OneDev instance, when one of my services triggers a build per Webhook with a GET request, it now always triggers one of the older build jobs again instead of creating a new job. This happens now after upgrading to OneDev 10.7.1 I am using a local agent with docker if that helps.
The build job itself has no isssue.