summaryrefslogtreecommitdiff
path: root/jjb/yaml/workflow-server.yaml
blob: 3aff37c127f74a3c89d6848c87c8f64ebdf2370d (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: workflow-server
    scm:
      - git:
          url: git@github.com:Talligent/workflow-server.git
          branches:
            - master

- job:
    name: workflow-server
    display-name: "workflow-server"
    project-type: freestyle
    description: "Builds the workflow-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:
      - workflow-server
    builders:
      - gradle:
          build-file: "build.gradle"
          switches:
            - "-P build.number=4.1.$BUILD_NUMBER"
            - "-P prodBuild=buildProd"
            - "-D org.gradle.daemon=false"
          tasks: |
            clean
            shadowJar