Feature #316

Prevent Jenkins from Checking out any SCM more than once

Added by Florian Lier about 10 years ago. Updated almost 10 years ago.

Status:ResolvedStart date:2014-10-29
Priority:HighDue date:
Assignee:Florian Lier% Done:

0%

Category:build-generatorSpent time:2.30 hours
Target version:Toolkit 0.1

History

#1 Updated by Florian Lier about 10 years ago

  • Description updated (diff)

#2 Updated by Johannes Wienke about 10 years ago

Maybe the easiest solution would be to generate non-matrix jobs in case only one slave is involved in a job?

#3 Updated by Florian Lier about 10 years ago

Yes.. that would be a fine solution. I was just looking at the Jenkins API which is nicely documented but also quite huge. Ideally, just one checkbox is needed in the matrix-job configuration which says

[x] Do not checkout before triggering a node

However, at @Jan: Is this a huge change in the build-gen?

#4 Updated by Jan Moringen about 10 years ago

Using "normal" instead of matrix jobs should be doable.

#5 Updated by Sebastian Meyer zu Borgsen about 10 years ago

This would be great.

Can this be done by modifying the templates or does it require changes in the configurator?
I found this comment in the code: "#:kind ; matrix or regular; setfable"
But does not seem to be implemented yet.

#6 Updated by Jan Moringen about 10 years ago

Different kinds of jobs are implemented at a basic level. Buildflow jobs are of a different kind as well, for example.

What is missing is either some logic in the generator to only generate matrix jobs if multiple slaves are assigned or a mechanism to control the kinds of generated jobs from templates.

#7 Updated by Florian Lier about 10 years ago

What is the current status of this issue?

#8 Updated by Jan Moringen about 10 years ago

What is the current status of this issue?

Didn't get to implementing the feature yet.

#9 Updated by Florian Lier almost 10 years ago

Did you make any progress on this, Jan?

#10 Updated by Jan Moringen almost 10 years ago

There is an initial implementation of non-matrix jobs in the master branch of the generator. I have to fix some issues before it will be usable, though.

#11 Updated by Florian Lier almost 10 years ago

Yeah, that's the work I gave you feedback on in December (I guess).

#12 Updated by Jan Moringen almost 10 years ago

Yes, I couldn't finish it last year. Will try now.

#13 Updated by Jan Moringen almost 10 years ago

  • Status changed from In Progress to Feedback

Should work now.

#14 Updated by Florian Lier almost 10 years ago

  • Status changed from Feedback to Resolved

Also available in: Atom PDF