artifact-days-to-keep: 60
artifact-num-to-keep: 200
-# defaults for SCM and Gerrit
+# defaults for SCM, Gerrit and GitHub
- scm:
name: git-scm
scm:
before: '{clean_before}'
choosing-strategy: 'gerrit'
+- scm:
+ name: git-scm-github
+ scm:
+ - git:
+ url: 'https://github.com/$PROJECT.git'
+ branches:
+ - '*/{branch}'
+ refspec: '{refspec}'
+ timeout: 15
+ per-build-tag: false
+ skip-tag: true
+ shallow-clone: false
+ use-author: false
+ ignore-notify: false
+ wipe-workspace: '{wipe_workspace}'
+ prune: false
+ clean:
+ after: false
+ before: '{clean_before}'
+ choosing-strategy: 'default'
+ basedir: '{base_dir}'
+
# triggers for Nordix Gerrit
- trigger:
name: nordix-gerrit-trigger-patchset-created