-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
jfrog-pipelines.yml
43 lines (42 loc) · 1.14 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
resources:
- name: ci_skip_gitRepo
type: GitRepo
configuration:
gitProvider: GitHub
path: srz-zumix/ci-skip
branches:
include: master|^feature/.*|^jfrog/.*
- name: ci_skip_cron_trigger
type: CronTrigger
configuration:
interval: '0 0 * * 2'
pipelines:
- name: ci_skip
steps:
- name: spec
type: Bash
configuration:
inputResources:
- name: ci_skip_gitRepo
execution:
onStart:
- update_commit_status ci_skip_gitRepo # Status: "processing"
onExecute:
- update_commit_status ci_skip_gitRepo # Status: "processing"
- pushd ${res_ci_skip_gitRepo_resourcePath}
- echo OK
- popd
onFailure:
- update_commit_status ci_skip_gitRepo # Status: "failure"
onSuccess:
- update_commit_status ci_skip_gitRepo # Status: "success"
- name: ci_skip_noop
steps:
- name: noop
type: Bash
configuration:
inputResources:
- name: ci_skip_cron_trigger
execution:
onExecute:
- echo Hello