blob: b97fd468aa4b06791780590136992b650012e080 [file] [log] [blame]
Hagop Bozawglanian9ca42f62019-02-04 23:59:18 +00001---
2- job-template:
3 # Job template for running a script to build an artifact and
4 # upload it to nexus as RAW artifacts.
5 #
6
7 name: '{project-name}-{stream}-build-and-upload'
8
9 project-type: freestyle
10 concurrent: true
11 node: '{build-node}'
12
13 properties:
14 - infra-properties:
15 build-days-to-keep: '{build-days-to-keep}'
16
17 parameters:
18 - infra-parameters:
19 project: '{project}'
20 branch: '{branch}'
21 refspec: 'refs/heads/{branch}'
22 artifacts: '{archive-artifacts}'
23
24 scm:
25 - git:
26 credentials-id: '{jenkins-ssh-credential}'
27 url: '$GIT_BASE'
28 refspec: ''
29 choosing-strategy: 'default'
30 branches:
31 - 'refs/heads/{branch}'
32 skip-tag: true
33 wipe-workspace: true
34 submodule:
35 recursive: '{submodule-recursive}'
36 timeout: '24'
37
38 wrappers:
39 - infra-wrappers:
40 build-timeout: '{build-timeout}'
41
42 triggers:
43 - timed: 'H H * * *'
44
45 builders:
46 - shell: '{script}'
47
48 publishers:
49 - infra-shiplogs:
50 maven-version: '{maven-version}'