diff options
| author | Carlos Konstanski <ckonstanski@pippiandcarlos.com> | 2017-10-03 14:59:15 -0600 |
|---|---|---|
| committer | Carlos Konstanski <ckonstanski@pippiandcarlos.com> | 2017-10-03 14:59:15 -0600 |
| commit | 02f29bb9cf52a2af35baa5264cac6d711a4e4e22 (patch) | |
| tree | d731d6d5228dcc75b6aa9cc98bc319bb8b8bf35a | |
| parent | 9407cd4aa2799b633ab940eadd3060d8e9778271 (diff) | |
adding gradle PPA
| -rw-r--r-- | jjb/yaml/admin-api-server.yaml | 12 | ||||
| -rw-r--r-- | salt/openbook/ansible/files/gradle.yaml | 5 |
2 files changed, 9 insertions, 8 deletions
diff --git a/jjb/yaml/admin-api-server.yaml b/jjb/yaml/admin-api-server.yaml index 2cf2dcd..d5c16f4 100644 --- a/jjb/yaml/admin-api-server.yaml +++ b/jjb/yaml/admin-api-server.yaml @@ -3,7 +3,7 @@ name: openbook-core scm: - git: - url: https://github.com/Talligent/openbook-core.git + url: git@github.com:Talligent/openbook-core.git branches: - master @@ -11,7 +11,7 @@ name: admin-api-server scm: - git: - url: https://github.com/Talligent/admin-api-server.git + url: git@github.com:Talligent/admin-api-server.git branches: - master @@ -25,7 +25,7 @@ name: admin-api-server display-name: "admin-api-server" project-type: freestyle - description: "" + description: "Builds the admin-api-server microservice." node: openbook_v4 properties: - build-discarder: @@ -34,16 +34,12 @@ artifact-days-to-keep: 0 artifact-num-to-keep: 0 triggers: - - timed: "H 23 * * *" + - github scm: - admin-api-server-combined builders: - gradle: build-file: "build.gradle" - gradle-name: "gradle-1.2" - wrapper: true - executable: true - use-root-dir: true tasks: | clean shadowJar diff --git a/salt/openbook/ansible/files/gradle.yaml b/salt/openbook/ansible/files/gradle.yaml index 4946da0..8d5bf6b 100644 --- a/salt/openbook/ansible/files/gradle.yaml +++ b/salt/openbook/ansible/files/gradle.yaml @@ -2,6 +2,11 @@ - name: "Install gradle" hosts: target tasks: + - name: "Add gradle PPA" + apt_repository: + repo: ppa:cwchien/gradle + state: present + - name: "Update apt" apt: update_cache: yes |
