forked from bbottema/simple-java-mail
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.yml
62 lines (55 loc) · 2.21 KB
/
config.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
version: 2.1
orbs:
github-maven-deploy: github-maven-deploy/[email protected]
mvn-build-test-command: &mvn-build-test-command
mvn-build-test-command: mvn verify -DexcludeLiveServerTests=true -Dmaven.javadoc.skip=true -Djacoco.skip=true -Dlicense.skip=true
mvn-collect-artifacts-command: &mvn-collect-artifacts-command
mvn-collect-artifacts-command: |
mkdir -p artifacts/cli
cp modules/cli-module/target/*standalone* artifacts/cli/
mvn-deploy-command: &mvn-deploy-command
mvn-deploy-command: |
mvn -s .circleci/maven-release-settings.xml clean deploy -DdeployAtEnd=true -DperformRelease=true -DskipTests -Dspotbugs.skip=true -Denforcer.skip=true -Djacoco.skip=true
mvn license:remove
context: RELEASE_PROFILE_BBOTTEMA
workflows:
workflow:
jobs:
- github-maven-deploy/build-and-test:
<<: *mvn-build-test-command
<<: *mvn-collect-artifacts-command
filters:
branches:
only: master
- github-maven-deploy/approve-deploy-patch-version:
type: approval
requires:
- github-maven-deploy/build-and-test
- github-maven-deploy/approve-deploy-minor-version:
type: approval
requires:
- github-maven-deploy/build-and-test
- github-maven-deploy/approve-deploy-major-version:
type: approval
requires:
- github-maven-deploy/build-and-test
- github-maven-deploy/approve-deploy-as-is-version:
type: approval
requires:
- github-maven-deploy/build-and-test
- github-maven-deploy/deploy-patch-version:
requires:
- github-maven-deploy/approve-deploy-patch-version
<<: *mvn-deploy-command
- github-maven-deploy/deploy-minor-version:
requires:
- github-maven-deploy/approve-deploy-minor-version
<<: *mvn-deploy-command
- github-maven-deploy/deploy-major-version:
requires:
- github-maven-deploy/approve-deploy-major-version
<<: *mvn-deploy-command
- github-maven-deploy/deploy-as-is-version:
requires:
- github-maven-deploy/approve-deploy-as-is-version
<<: *mvn-deploy-command