generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 8
/
.gitlab-ci.yml
42 lines (35 loc) · 895 Bytes
/
.gitlab-ci.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
# http://docs.gitlab.com/ce/ci/yaml/README.html
image: node:16
workflow:
rules:
- if: '$CI_COMMIT_TAG != null'
empty:
script:
- echo "test"
jira-build-integration-on-success:
stage: .post
when: on_success
image: registry.gitlab.com/rohit-gohri/jira-ci-cd-integration:v0
script: jira-integration
variables:
JIRA_ISSUES: JCI-7
BUILD_STATE: successful
BUILD_NAME: gitlab-pipeline
JIRA_INSTANCE: boringdownload
jira-build-integration-on-failure:
extends: jira-build-integration-on-success
when: on_failure
variables:
BUILD_STATE: failure
jira-deploy-integration-on-success:
extends: jira-build-integration-on-success
variables:
JIRA_ISSUES: JCI-4
environment:
name: production
jira-deploy-integration-on-failure:
extends: jira-build-integration-on-failure
variables:
JIRA_ISSUES: JCI-4
environment:
name: production