summaryrefslogtreecommitdiff
path: root/jjb/yaml/admin-api-server.yaml
blob: 4f0c74d0713a3fe7b29a01f406b5a096c572e9ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
---
- scm:
    name: admin-api-server
    scm:
      - git:
          url: git@github.com:Talligent/admin-api-server.git
          branches:
            - master

- job:
    name: admin-api-server
    display-name: "admin-api-server"
    project-type: freestyle
    description: "Builds the admin-api-server microservice."
    node: openbook_v4
    properties:
      - build-discarder:
          days-to-keep: 0
          num-to-keep: 1
          artifact-days-to-keep: 0
          artifact-num-to-keep: 0
    triggers:
      - github
    scm:
      - admin-api-server
    builders:
      - gradle:
          build-file: "build.gradle"
          switches:
            - "-P buildNumber=4.1.$BUILD_NUMBER"
            - "-P prodBuild=buildProd"
            - "-D org.gradle.daemon=false"
          tasks: |
            clean
            shadowJar