IEC deploy jobs do not require cloning git submodules, which got
pretty heavy (more than 1GB), so at least for these jobs, disable
git submodules via JJB scm configuration.
Since `lf-infra-gerrit-scm` macro from lf-macros does not allow
configuration of submodule.disable, stop using said wrapper macro.
Change-Id: If6b41bf213a3cea095fabc03f8efbd3bda7d1723
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
name: '$BUILD_NUMBER - Scenario: $DEPLOY_SCENARIO'
scm:
- - lf-infra-gerrit-scm:
- jenkins-ssh-credential: '{jenkins-ssh-credential}'
- git-url: '{git-url}/{project}.git'
+ - git:
+ credentials-id: '{jenkins-ssh-credential}'
+ url: '{git-url}/{project}.git'
refspec: ''
- branch: '{branch}'
- submodule-recursive: false
- submodule-timeout: '{submodule-timeout}'
+ branches:
+ - 'refs/heads/{branch}'
+ skip-tag: true
+ wipe-workspace: true
+ submodule:
+ disable: true
+ recursive: false
+ timeout: '{submodule-timeout}'
choosing-strategy: default
builders: