summary |
shortlog |
log |
commit | commitdiff |
review |
tree
raw |
patch |
inline | side by side (from parent 1:
4f447ce)
The projects should have control about their workspace.
Following parmaters are introduced for git-scm and git-scm-gerrit
to control what should be done with git repository when the
jenkins job is executed:
- wipe_workspace: Wipe out repository and force clone (default: true)
- clean_before: Clean up the workspace before every checkout
by deleting all untracked files and directories (default: false)
Change-Id: I6216334251d9af8c0c6b9818b2ef3280d6196ef5
23 files changed:
ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
branch: '{branch}'
refspec: $GERRIT_REFSPEC
ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
branch: '{branch}'
refspec: $GERRIT_REFSPEC
+ wipe_workspace: true
+ clean_before: false
triggers:
- nordix-gerrit-trigger-patchset-created:
triggers:
- nordix-gerrit-trigger-patchset-created:
ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
branch: '{branch}'
refspec: $GERRIT_REFSPEC
ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
branch: '{branch}'
refspec: $GERRIT_REFSPEC
+ wipe_workspace: true
+ clean_before: false
triggers:
- nordix-gerrit-push-upstream:
triggers:
- nordix-gerrit-push-upstream:
ssh-credentials-id: nordixinfra-lfn-gerrit-ssh
branch: '{branch}'
refspec: ''
ssh-credentials-id: nordixinfra-lfn-gerrit-ssh
branch: '{branch}'
refspec: ''
+ wipe_workspace: true
+ clean_before: false
triggers:
- acumos-gerrit-trigger-change-merged:
triggers:
- acumos-gerrit-trigger-change-merged:
ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
branch: '{branch}'
refspec: ''
ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
branch: '{branch}'
refspec: ''
+ wipe_workspace: true
+ clean_before: false
triggers:
- timed: '{build-trigger}'
triggers:
- timed: '{build-trigger}'
ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
branch: '{branch}'
refspec: ''
ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
branch: '{branch}'
refspec: ''
+ wipe_workspace: true
+ clean_before: false
builders:
- 'cloud-infra-{phase}-macro'
builders:
- 'cloud-infra-{phase}-macro'
ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
branch: '{branch}'
refspec: ''
ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
branch: '{branch}'
refspec: ''
+ wipe_workspace: true
+ clean_before: false
triggers:
- timed: '@daily'
triggers:
- timed: '@daily'
ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
branch: '{branch}'
refspec: ''
ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
branch: '{branch}'
refspec: ''
+ wipe_workspace: true
+ clean_before: false
builders:
- description-setter:
builders:
- description-setter:
ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
branch: '{branch}'
refspec: $GERRIT_REFSPEC
ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
branch: '{branch}'
refspec: $GERRIT_REFSPEC
+ wipe_workspace: true
+ clean_before: false
ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
branch: '{branch}'
refspec: $GERRIT_REFSPEC
ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
branch: '{branch}'
refspec: $GERRIT_REFSPEC
+ wipe_workspace: true
+ clean_before: false
builders:
- 'cloud-infra-determine-scenario-macro'
builders:
- 'cloud-infra-determine-scenario-macro'
ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
branch: '{branch}'
refspec: $GERRIT_REFSPEC
ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
branch: '{branch}'
refspec: $GERRIT_REFSPEC
+ wipe_workspace: true
+ clean_before: false
triggers:
- nordix-gerrit-trigger-patchset-created:
triggers:
- nordix-gerrit-trigger-patchset-created:
ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
branch: '{branch}'
refspec: $GERRIT_REFSPEC
ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
branch: '{branch}'
refspec: $GERRIT_REFSPEC
+ wipe_workspace: true
+ clean_before: false
builders:
- 'cloud-infra-determine-scenario-macro'
builders:
- 'cloud-infra-determine-scenario-macro'
ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
branch: '{branch}'
refspec: $GERRIT_REFSPEC
ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
branch: '{branch}'
refspec: $GERRIT_REFSPEC
+ wipe_workspace: true
+ clean_before: false
triggers:
- nordix-gerrit-trigger-patchset-created:
triggers:
- nordix-gerrit-trigger-patchset-created:
ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
branch: '{branch}'
refspec: $GERRIT_REFSPEC
ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
branch: '{branch}'
refspec: $GERRIT_REFSPEC
+ wipe_workspace: true
+ clean_before: false
builders:
- 'cloud-infra-testfw-macro'
builders:
- 'cloud-infra-testfw-macro'
ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
branch: '{branch}'
refspec: $GERRIT_REFSPEC
ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
branch: '{branch}'
refspec: $GERRIT_REFSPEC
+ wipe_workspace: true
+ clean_before: false
triggers:
- nordix-gerrit-trigger-patchset-created:
triggers:
- nordix-gerrit-trigger-patchset-created:
ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
branch: '{branch}'
refspec: $GERRIT_REFSPEC
ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
branch: '{branch}'
refspec: $GERRIT_REFSPEC
+ wipe_workspace: true
+ clean_before: false
triggers:
- nordix-gerrit-push-upstream:
triggers:
- nordix-gerrit-push-upstream:
ssh-credentials-id: nordixinfra-lfn-gerrit-ssh
branch: '{branch}'
refspec: ''
ssh-credentials-id: nordixinfra-lfn-gerrit-ssh
branch: '{branch}'
refspec: ''
+ wipe_workspace: true
+ clean_before: false
triggers:
- onap-gerrit-trigger-change-merged:
triggers:
- onap-gerrit-trigger-change-merged:
shallow-clone: false
use-author: false
ignore-notify: false
shallow-clone: false
use-author: false
ignore-notify: false
+ wipe-workspace: '{wipe_workspace}'
+ clean:
+ after: false
+ before: '{clean_before}'
choosing-strategy: 'default'
- scm:
choosing-strategy: 'default'
- scm:
shallow-clone: false
use-author: false
ignore-notify: false
shallow-clone: false
use-author: false
ignore-notify: false
+ wipe-workspace: '{wipe_workspace}'
+ clean:
+ after: false
+ before: '{clean_before}'
choosing-strategy: 'gerrit'
# triggers for Nordix Gerrit
choosing-strategy: 'gerrit'
# triggers for Nordix Gerrit
ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
branch: '{branch}'
refspec: ''
ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
branch: '{branch}'
refspec: ''
+ wipe_workspace: true
+ clean_before: false
triggers:
- nordix-gerrit-trigger-change-merged:
triggers:
- nordix-gerrit-trigger-change-merged:
ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
branch: '{branch}'
refspec: $GERRIT_REFSPEC
ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
branch: '{branch}'
refspec: $GERRIT_REFSPEC
+ wipe_workspace: true
+ clean_before: false
triggers:
- nordix-gerrit-trigger-patchset-created:
triggers:
- nordix-gerrit-trigger-patchset-created:
ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
branch: '{branch}'
refspec: $GERRIT_REFSPEC
ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
branch: '{branch}'
refspec: $GERRIT_REFSPEC
+ wipe_workspace: true
+ clean_before: false
triggers:
- nordix-gerrit-trigger-patchset-created:
triggers:
- nordix-gerrit-trigger-patchset-created:
ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
branch: '{branch}'
refspec: $GERRIT_REFSPEC
ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
branch: '{branch}'
refspec: $GERRIT_REFSPEC
+ wipe_workspace: true
+ clean_before: false
triggers:
- nordix-gerrit-push-upstream:
triggers:
- nordix-gerrit-push-upstream:
ssh-credentials-id: nordixinfra-lfn-gerrit-ssh
branch: '{branch}'
refspec: ''
ssh-credentials-id: nordixinfra-lfn-gerrit-ssh
branch: '{branch}'
refspec: ''
+ wipe_workspace: true
+ clean_before: false
triggers:
- onap-gerrit-trigger-change-merged:
triggers:
- onap-gerrit-trigger-change-merged:
ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
branch: '{branch}'
refspec: $GERRIT_REFSPEC
ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
branch: '{branch}'
refspec: $GERRIT_REFSPEC
+ wipe_workspace: true
+ clean_before: false
triggers:
- nordix-gerrit-push-upstream:
triggers:
- nordix-gerrit-push-upstream:
ssh-credentials-id: nordixinfra-lfn-gerrit-ssh
branch: '{branch}'
refspec: ''
ssh-credentials-id: nordixinfra-lfn-gerrit-ssh
branch: '{branch}'
refspec: ''
+ wipe_workspace: true
+ clean_before: false
triggers:
- odl-gerrit-trigger-change-merged:
triggers:
- odl-gerrit-trigger-change-merged:
ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
branch: $GERRIT_BRANCH
refspec: $GERRIT_REFSPEC
ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
branch: $GERRIT_BRANCH
refspec: $GERRIT_REFSPEC
+ wipe_workspace: true
+ clean_before: false
triggers:
- nordix-gerrit-patchset-created-or-push-upstream:
triggers:
- nordix-gerrit-patchset-created-or-push-upstream:
ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
branch: '{branch}'
refspec: $GERRIT_REFSPEC
ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
branch: '{branch}'
refspec: $GERRIT_REFSPEC
+ wipe_workspace: true
+ clean_before: false
triggers:
- nordix-gerrit-patchset-created-or-push-upstream:
triggers:
- nordix-gerrit-patchset-created-or-push-upstream:
ssh-credentials-id: nordixinfra-lfn-gerrit-ssh
branch: 'master'
refspec: ''
ssh-credentials-id: nordixinfra-lfn-gerrit-ssh
branch: 'master'
refspec: ''
+ wipe_workspace: false
+ clean_before: true
triggers:
- opendev-gerrit-trigger-change-merged:
triggers:
- opendev-gerrit-trigger-change-merged:
ssh-credentials-id: nordixinfra-lfn-gerrit-ssh
branch: '{branch}'
refspec: ''
ssh-credentials-id: nordixinfra-lfn-gerrit-ssh
branch: '{branch}'
refspec: ''
+ wipe_workspace: true
+ clean_before: false
triggers:
- opendev-gerrit-trigger-change-merged:
triggers:
- opendev-gerrit-trigger-change-merged: