-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbitbucket-pipelines.yml
More file actions
35 lines (35 loc) · 1000 Bytes
/
Copy pathbitbucket-pipelines.yml
File metadata and controls
35 lines (35 loc) · 1000 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
35
image: 'gradle:8.7.0'
pipelines:
branches:
main:
- parallel:
- step:
name: Build and Test
caches:
- gradle
script:
- gradle build
- pipe: 'atlassian/bitbucket-upload-file:0.7.1'
variables:
BITBUCKET_ACCESS_TOKEN: $BITBUCKET_ACCESS_TOKEN
FILENAME: build/distributions/*.zip
after-script:
- pipe: 'atlassian/checkstyle-report:0.3.0'
- step:
name: Security Scan
script:
- pipe: 'atlassian/git-secrets-scan:0.5.1'
develop:
- parallel:
- step:
name: Build and Test
caches:
- gradle
script:
- gradle build
after-script:
- pipe: 'atlassian/checkstyle-report:0.3.0'
- step:
name: Security Scan
script:
- pipe: 'atlassian/git-secrets-scan:0.5.1'