-
Notifications
You must be signed in to change notification settings - Fork 2
/
buildspec.yml
73 lines (70 loc) · 1.35 KB
/
buildspec.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
63
64
65
66
67
68
69
70
71
72
73
version: 0.2
#env:
# variables:
# key: "value"
# key: "value"
# parameter-store:
# key: "value"
# key: "value"
# git-credential-helper: yes
proxy:
upload-artifacts: yes
logs: yes
phases:
install:
# runtime-versions:
# runtime: version
# runtime: version
commands:
- cd /root && ./dbconnect-creds.sh
# - command
finally:
# - command
# - command
# pre_build:
# run-as: Linux-user-name
# commands:
# - command
# - command
# finally:
# - command
# - command
build:
commands:
- cd $CODEBUILD_SRC_DIR && sbt test
- cd $CODEBUILD_SRC_DIR && sbt package
# finally:
# - command
# - command
# post_build:
# run-as: Linux-user-name
# commands:
# - command
# - command
# finally:
# - command
# - command
artifacts:
files:
- $CODEBUILD_SRC_DIR/target/scala-2.11/unittest-example_2.11-0.1.jar
# - location
discard-paths: yes
# base-directory: location
# secondary-artifacts:
# artifactIdentifier:
# files:
# - location
# - location
# name: secondary-artifact-name
# discard-paths: yes
# base-directory: location
# artifactIdentifier:
# files:
# - location
# - location
# discard-paths: yes
# base-directory: location
#cache:
# paths:
# - path
# - path