-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
jfrog-pipelines.yml
69 lines (68 loc) · 2.2 KB
/
jfrog-pipelines.yml
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
resources:
- name: ci_specs_gitRepo
type: GitRepo
configuration:
gitProvider: GitHub
path: srz-zumix/ci-specs
branches:
include: master|^feature/.*|^jfrog/.*
pipelines:
- name: ci_specs_centos
configuration:
nodePool: centos-latest
steps:
- name: spec
type: Bash
configuration: &config
inputResources:
- name: ci_specs_gitRepo
integrations:
- name: ci_specs_envs
environmentVariables:
INTEGROMAT_WEBHOOK_URL: ${int_ci_specs_envs_INTEGROMAT_WEBHOOK_URL}
execution: &exec
onStart:
- update_commit_status ci_specs_gitRepo # Status: "processing"
onExecute:
- update_commit_status ci_specs_gitRepo # Status: "processing"
- pushd ${res_ci_specs_gitRepo_resourcePath}
- git submodule update --init --recursive
- .ci/spec.sh
- popd
onFailure:
- update_commit_status ci_specs_gitRepo # Status: "failure"
onSuccess:
- update_commit_status ci_specs_gitRepo # Status: "success"
- name: ci_specs_ubuntu
configuration:
nodePool: ubuntu-latest
steps:
- name: spec
type: Bash
configuration: *config
execution: *exec
- name: ci_specs_windows
configuration:
nodePool: windows-latest
steps:
- name: spec
type: PowerShell
configuration: &config
inputResources:
- name: ci_specs_gitRepo
integrations:
- name: ci_specs_envs
execution:
onStart:
- update_commit_status ci_specs_gitRepo # Status: "processing"
onExecute:
- update_commit_status ci_specs_gitRepo # Status: "processing"
- pushd ${res_ci_specs_gitRepo_resourcePath}
- git submodule update --init --recursive
- $Env:INTEGROMAT_WEBHOOK_URL = $Env:int_ci_specs_envs_INTEGROMAT_WEBHOOK_URL
- .ci/spec.bat
- popd
onFailure:
- update_commit_status ci_specs_gitRepo # Status: "failure"
onSuccess:
- update_commit_status ci_specs_gitRepo # Status: "success"