Re: How to prevent concurrent builds across all branches in a multibranch pipeline project?

2017-08-14 Thread Viacheslav Dubrovskyi
Hi Mark, You can use env.EXECUTOR_NUMBER in DB user name or in port of connection string. 14.08.2017 17:00, Mark Allison пишет: Yes we have a database server for testing new database changes, and I want to serialise all database project builds across branches so they don't interfere. I

Re: How to prevent concurrent builds across all branches in a multibranch pipeline project?

2017-08-14 Thread Mark Allison
Yes we have a database server for testing new database changes, and I want to serialise all database project builds across branches so they don't interfere. I will look into the lockable resources plugin. Is there a way to tie an executor to a particular database server? For example have 10

Re: How to prevent concurrent builds across all branches in a multibranch pipeline project?

2017-08-14 Thread Michael Pailloncy
Why do you want to prevent this ? Do you have a shared resource for all your builds ? If yes, I think that this plugin will fit your needs https://wiki.jenkins.io/display/JENKINS/Lockable+Resources+Plugin 2017-08-14 12:37 GMT+02:00 Mark Allison : > I have tried to use > >

How to prevent concurrent builds across all branches in a multibranch pipeline project?

2017-08-14 Thread Mark Allison
I have tried to use properties[(disableConcurrentBuilds)] but that only prevents concurrent builds within one branch in a multibranch pipeline project. Is there a way to prevent concurrent builds across all branches in a project? Thanks -- You received this message because you are