blob: 3bbeb849eda341b34669cd628af063eef8f7d364 [file] [log] [blame]
Luca Milanesiod7285832018-02-28 08:50:39 +00001- job-template:
2 name: 'app-{name}-sbt-{branch}'
Thomas Draebing792be4f2019-09-19 11:57:56 +02003 description: 'App {name} {branch} branch build with Sbt'
Luca Milanesiod7285832018-02-28 08:50:39 +00004 node: sbt
5 targets: compile test assembly
6 wrappers:
7 - timeout:
8 timeout: 30
9 fail: true
10 - timestamps
Luca Milanesioe326f302020-06-05 10:48:41 +010011 - credentials-binding:
12 - username-password-separated:
13 credential-id: gerrit.googlesource.com
14 username: GS_GIT_USER
15 password: GS_GIT_PASS
Luca Milanesiod7285832018-02-28 08:50:39 +000016 properties:
Thomas Draebing792be4f2019-09-19 11:57:56 +020017 - build-discarder:
18 days-to-keep: 20
19 artifact-days-to-keep: 20
20 - authorization:
21 anonymous:
22 - job-discover
23 - job-read
24 - job-extended-read
Luca Milanesiod7285832018-02-28 08:50:39 +000025 scm:
26 - git:
Thomas Draebing792be4f2019-09-19 11:57:56 +020027 remotes:
28 - origin:
Luca Milanesioe326f302020-06-05 10:48:41 +010029 url: https://gerrit.googlesource.com/a/apps/{name}
Luca Milanesio0daa6d62020-06-17 09:16:53 +010030 credentials-id: gerrit.googlesource.com
Thomas Draebing792be4f2019-09-19 11:57:56 +020031 branches:
32 - origin/{branch}
33 submodule:
34 recursive: true
Luca Milanesiofe195462020-06-17 23:35:48 +010035 parent-credentials: true
Thomas Draebing792be4f2019-09-19 11:57:56 +020036 skip-tag: true
Luca Milanesiod7285832018-02-28 08:50:39 +000037 triggers:
38 - pollscm:
39 cron: 'H/50 * * * *'
Luca Milanesiod7285832018-02-28 08:50:39 +000040 builders:
Luca Milanesioe326f302020-06-05 10:48:41 +010041 - set-git-credentials
Thomas Draebing792be4f2019-09-19 11:57:56 +020042 - shell: !include-raw: gerrit-sbt-build-app.sh
Luca Milanesiod7285832018-02-28 08:50:39 +000043 publishers:
44 - archive:
Thomas Draebing792be4f2019-09-19 11:57:56 +020045 artifacts: '**/target/**/*{name}*.jar*,**/target/**/*{name}*.json'
Thomas Draebingc6a9cc02023-04-05 09:15:37 +020046 follow-symlinks: true
Luca Milanesiod7285832018-02-28 08:50:39 +000047
Luca Milanesiod7285832018-02-28 08:50:39 +000048- project:
49 name: analytics-etl
50 jobs:
51 - 'app-{name}-sbt-{branch}':
52 branch:
53 - master