Is there a way to have more than one buildspec per repo? (OD-2108)
Bill Priest opened 1 year ago

It seems that the .onedev-buildspec.yml can be renamed but afterwards can't be used to start a build. Putting a .onedev-buildspec.yml in a directory within a repository also can't be used to start a build. Is there a way to tag a file as buildspec? GitHub handles multiple build specs per repository and it has proven to be a useful feature. Apologies if I have missed how to make this work.

  • Bill Priest commented 1 year ago

    Question about having multiple build specs.

  • Robin Shen commented 1 year ago

    All build specs should be defined in the single ".onedev-buildspec.yml" file. OneDev provides an UI to create jobs and users normally do not need to edit the underlying file, I don't see too much value of using multiple yaml files.

  • Robin Shen changed state to 'Closed' 1 year ago
    Previous Value Current Value
    Open
    Closed
issue 1/1
Type
Question
Priority
Normal
Assignee
Labels
No labels
Issue Votes (0)
Watchers (2)
Reference
OD-2108
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover