Hi When the test stage runs it runs with Maven profile -P integration enabled However those can often not run on CI server as you would need to setup testing accounts on things like twitter, box, etc.
The CI job had 100's test failures and many of these because of this. I wonder if we should not turn this off, eg remove -Pintegration for now Camel_master-CIGY56HHEDNGVJBWJRRHBZ64GKNJTCSYDKOPJS46W5IZTMAS3I2Q] Running shell script + ./mvnw -B -e -fae -V -Dmaven.repo.local=/home/jenkins/jenkins-slave/maven-repositories/0 -Pintegration -Dnoassembly -Dmaven.test.failure.ignore=true test On Thu, Mar 1, 2018 at 9:14 AM, Zoran Regvart <[email protected]> wrote: > Hi Andrew & Cameleers, > our builds take really long time (we have a lot of modules/tests), > it's not uncommon for a full build/test to run for ~5 hours. > > I think the best course would be to never run tests in two jobs or > only run them once per day. I was experimenting with throttle[1] and > ere is what I've came up with[2] (I've used the `Hive` category that > exists on builds.apache.org). > > I seem to be missing something, as the shell in the Test stage still > gets executed in parallel when I trigger two jobs. > > What I think would be best for us is to have the Test stage only in > single job execution and other, parallel, executions would skip over > it. This way we'd never take up 4h of agent's time concurrently. > Or we could have it only runs once per day, but I'm not sure on how to > do that with a single declarative pipeline. > > Anyone has a better idea/solution? > > zoran > > [1] https://jenkins.io/doc/pipeline/steps/throttle-concurrents/ > [2] https://gist.github.com/zregvart/a42b0dcb58e2280983a128d845acfbc0 > -- > Zoran Regvart -- Claus Ibsen ----------------- http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2
