Prevent builds from running (OD-1192)
Unknown opened 3 years ago

Is there currently any method to prevent builds from running. I have a bunch of forked projects, such as the fork of this repository, and the docs repository, and every time I sync they attempt to run the CI/CD builds and all fail (for obvious reasons).

I can not delete the CI/CD configuration as it would cause divergent branches, so is there any repository setting to prevent CI/CD or disable it. If not, would you mind adding it?

Thanks, Polarian

  • Robin Shen commented 3 years ago

    Job trigger has an applicable projects setting to allow it being triggered only for designated projects. For CI/CD applicable projects is not specified as I think it is good to turn on for all projects. What causes failure of CI/CD at your side?

  • Unknown commented 3 years ago

    @robin because I am pulling your repos onto my community instance for better development, but every pull automatically attempts to build and publish new builds, such as pushing to your github repo and stuff like that.

    How do I make it stop!

  • Robin Shen commented 3 years ago

    OK, the release and sync job runs if the project path is onedev/server. Just use some other name will not trigger that job.

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