Your browser was unable to load all of the resources. They may have been blocked by your firewall, proxy or browser configuration.
Press Ctrl+F5 or Ctrl+Shift+R to have your browser try again.

Exlude a repository or a list of repository from the launching a build #4343

benprim ·

Is there a way to remove changes from a repository to trigger a build ?
I know we can exclude by paths but I would like to specifically remove some repositories changes from triggering a build

Thanks a lot

  • replies 2
  • views 163
  • stars 2
robinshen ADMIN ·

This can be done by scripting the build condition. For instance, you may use below script:

for (repo in configuration.getReferencedRepositories()) {
  if ( != "excludedRepo" && repo.isChanged())
    return true;
return false;
benprim ·

Thanks Robin !