Last modified: 2014-04-18 10:39:57 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T53646, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 51646 - Jenkins: Fetching of submodules should pass "--init"
Jenkins: Fetching of submodules should pass "--init"
Status: RESOLVED WORKSFORME
Product: Wikimedia
Classification: Unclassified
Continuous integration (Other open bugs)
wmf-deployment
All All
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-07-18 23:31 UTC by Krinkle
Modified: 2014-04-18 10:39 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Krinkle 2013-07-18 23:31:10 UTC
The scm > git > disable_submodule flag we are given by jenkins-job-builder results in the command "git submodule update". This means that when the workspace is created, no submodules are fetched because "update" only updates, it doesn't initialise.

So when adding a new project with submodules, or adding (new) submodules to an existing project, they don't appear in the workspace on Jenkins.

It could be that this is a bug in Jenkins-Git-Plugin, or perhaps jenkins-job-builder's abstraction for its parameters omits it, or perhaps we're just using it wrong.
Comment 1 Antoine "hashar" Musso (WMF) 2013-09-25 12:43:37 UTC
Do you have an example or are you merely suspecting it is not using --init?

The workspaces are usually wiped out (except for mediawiki-core jobs), so if Jenkins was failling to fetch the submodules we would have a ton of jobs failling.

https://integration.wikimedia.org/ci/job/operations-puppet-doc/? does fetch submodules :)
Comment 2 Antoine "hashar" Musso (WMF) 2014-04-18 10:39:57 UTC
Assuming this works for us since there are no examples.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links