-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.example-gitlab-ci.yml
More file actions
34 lines (29 loc) · 859 Bytes
/
.example-gitlab-ci.yml
File metadata and controls
34 lines (29 loc) · 859 Bytes
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
stages:
- test
dmtools-example:
stage: test
image: openjdk:23
cache:
key: "dmtools-cli-$CI_RUNNER_OS"
paths:
- ~/.dmtools/
policy: pull-push
before_script:
- apt-get update -qq && apt-get install -y curl
- |
if [ ! -f "$HOME/.dmtools/dmtools.jar" ]; then
curl https://github.com/IstiN/dmtools/releases/latest/download/install.sh -fsS | bash
fi
- export PATH="$HOME/.dmtools/bin:$PATH"
script:
- dmtools list
- echo "DMTools CLI working!"
variables:
JIRA_EMAIL: "$JIRA_EMAIL"
JIRA_API_TOKEN: "$JIRA_API_TOKEN"
JIRA_BASE_PATH: "$JIRA_BASE_PATH"
CONFLUENCE_EMAIL: "$CONFLUENCE_EMAIL"
CONFLUENCE_API_TOKEN: "$CONFLUENCE_API_TOKEN"
CONFLUENCE_BASE_PATH: "$CONFLUENCE_BASE_PATH"
FIGMA_TOKEN: "$FIGMA_TOKEN"
DMTOOLS_INTEGRATIONS: "jira,confluence,figma"