Luca Milanesio | d728583 | 2018-02-28 08:50:39 +0000 | [diff] [blame] | 1 | - job-template: |
| 2 | name: 'app-{name}-sbt-{branch}' |
Thomas Draebing | 792be4f | 2019-09-19 11:57:56 +0200 | [diff] [blame] | 3 | description: 'App {name} {branch} branch build with Sbt' |
Luca Milanesio | d728583 | 2018-02-28 08:50:39 +0000 | [diff] [blame] | 4 | node: sbt |
| 5 | targets: compile test assembly |
| 6 | wrappers: |
| 7 | - timeout: |
| 8 | timeout: 30 |
| 9 | fail: true |
| 10 | - timestamps |
Luca Milanesio | e326f30 | 2020-06-05 10:48:41 +0100 | [diff] [blame] | 11 | - credentials-binding: |
| 12 | - username-password-separated: |
| 13 | credential-id: gerrit.googlesource.com |
| 14 | username: GS_GIT_USER |
| 15 | password: GS_GIT_PASS |
Luca Milanesio | d728583 | 2018-02-28 08:50:39 +0000 | [diff] [blame] | 16 | properties: |
Thomas Draebing | 792be4f | 2019-09-19 11:57:56 +0200 | [diff] [blame] | 17 | - 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 Milanesio | d728583 | 2018-02-28 08:50:39 +0000 | [diff] [blame] | 25 | scm: |
| 26 | - git: |
Thomas Draebing | 792be4f | 2019-09-19 11:57:56 +0200 | [diff] [blame] | 27 | remotes: |
| 28 | - origin: |
Luca Milanesio | e326f30 | 2020-06-05 10:48:41 +0100 | [diff] [blame] | 29 | url: https://gerrit.googlesource.com/a/apps/{name} |
Luca Milanesio | 0daa6d6 | 2020-06-17 09:16:53 +0100 | [diff] [blame] | 30 | credentials-id: gerrit.googlesource.com |
Thomas Draebing | 792be4f | 2019-09-19 11:57:56 +0200 | [diff] [blame] | 31 | branches: |
| 32 | - origin/{branch} |
| 33 | submodule: |
| 34 | recursive: true |
Luca Milanesio | fe19546 | 2020-06-17 23:35:48 +0100 | [diff] [blame] | 35 | parent-credentials: true |
Thomas Draebing | 792be4f | 2019-09-19 11:57:56 +0200 | [diff] [blame] | 36 | skip-tag: true |
Luca Milanesio | d728583 | 2018-02-28 08:50:39 +0000 | [diff] [blame] | 37 | triggers: |
| 38 | - pollscm: |
| 39 | cron: 'H/50 * * * *' |
Luca Milanesio | d728583 | 2018-02-28 08:50:39 +0000 | [diff] [blame] | 40 | builders: |
Luca Milanesio | e326f30 | 2020-06-05 10:48:41 +0100 | [diff] [blame] | 41 | - set-git-credentials |
Thomas Draebing | 792be4f | 2019-09-19 11:57:56 +0200 | [diff] [blame] | 42 | - shell: !include-raw: gerrit-sbt-build-app.sh |
Luca Milanesio | d728583 | 2018-02-28 08:50:39 +0000 | [diff] [blame] | 43 | publishers: |
| 44 | - archive: |
Thomas Draebing | 792be4f | 2019-09-19 11:57:56 +0200 | [diff] [blame] | 45 | artifacts: '**/target/**/*{name}*.jar*,**/target/**/*{name}*.json' |
Thomas Draebing | c6a9cc0 | 2023-04-05 09:15:37 +0200 | [diff] [blame] | 46 | follow-symlinks: true |
Luca Milanesio | d728583 | 2018-02-28 08:50:39 +0000 | [diff] [blame] | 47 | |
Luca Milanesio | d728583 | 2018-02-28 08:50:39 +0000 | [diff] [blame] | 48 | - project: |
| 49 | name: analytics-etl |
| 50 | jobs: |
| 51 | - 'app-{name}-sbt-{branch}': |
| 52 | branch: |
| 53 | - master |