diff options
Diffstat (limited to 'jjb/vnfrqts/build-and-upload.yaml')
-rw-r--r-- | jjb/vnfrqts/build-and-upload.yaml | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/jjb/vnfrqts/build-and-upload.yaml b/jjb/vnfrqts/build-and-upload.yaml new file mode 100644 index 000000000..b97fd468a --- /dev/null +++ b/jjb/vnfrqts/build-and-upload.yaml @@ -0,0 +1,50 @@ +--- +- job-template: + # Job template for running a script to build an artifact and + # upload it to nexus as RAW artifacts. + # + + name: '{project-name}-{stream}-build-and-upload' + + project-type: freestyle + concurrent: true + node: '{build-node}' + + properties: + - infra-properties: + build-days-to-keep: '{build-days-to-keep}' + + parameters: + - infra-parameters: + project: '{project}' + branch: '{branch}' + refspec: 'refs/heads/{branch}' + artifacts: '{archive-artifacts}' + + scm: + - git: + credentials-id: '{jenkins-ssh-credential}' + url: '$GIT_BASE' + refspec: '' + choosing-strategy: 'default' + branches: + - 'refs/heads/{branch}' + skip-tag: true + wipe-workspace: true + submodule: + recursive: '{submodule-recursive}' + timeout: '24' + + wrappers: + - infra-wrappers: + build-timeout: '{build-timeout}' + + triggers: + - timed: 'H H * * *' + + builders: + - shell: '{script}' + + publishers: + - infra-shiplogs: + maven-version: '{maven-version}' |