diff options
author | Jessica Wagantall <jwagantall@linuxfoundation.org> | 2018-03-12 18:36:31 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-03-12 18:36:31 +0000 |
commit | cba0c3f5323136c6b0c3346e97586b544badde7c (patch) | |
tree | 0eafd72c26b7e9f7f980215ace99820df75e2a97 /jjb/global-templates-c.yaml | |
parent | 920a905e0a36a369e15fcc20950c0b0fbe8b3555 (diff) | |
parent | fd33dba73491195b1b55d8495a5c7fc0dbf03d15 (diff) |
Merge "Add jenkins job for sshsm project"
Diffstat (limited to 'jjb/global-templates-c.yaml')
-rw-r--r-- | jjb/global-templates-c.yaml | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/jjb/global-templates-c.yaml b/jjb/global-templates-c.yaml new file mode 100644 index 000000000..caed98fd1 --- /dev/null +++ b/jjb/global-templates-c.yaml @@ -0,0 +1,51 @@ +--- +# vim: sw=2 ts=2 sts=2 et : + +- job-template: + # + # job template for build C/C++ project + # + # Required Variables: + # script: build script to execute + # + + name: '{project-name}-{stream}-verify-c' + project-type: freestyle + 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}' + - maven-exec: + maven-version: '{maven-version}' + + scm: + - gerrit-trigger-scm: + refspec: 'refs/heads/master' + choosing-strategy: 'gerrit' + submodule-recursive: '{submodule-recursive}' + + wrappers: + - infra-wrappers: + build-timeout: '{build-timeout}' + + triggers: + - gerrit-trigger-patch-submitted: + server: '{server-name}' + project: '{project}' + branch: '{branch}' + files: '**' + + builders: + - shell: '{script}' + + publishers: + - infra-shiplogs: + maven-version: '{maven-version}' |