-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwercker.yml
More file actions
32 lines (29 loc) · 924 Bytes
/
wercker.yml
File metadata and controls
32 lines (29 loc) · 924 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
box: erds/gcloud-with-java-8
test:
steps:
- script:
name: prepare environment
code: |
mkdir -p $WERCKER_CACHE_DIR/artifactory
mkdir -p $WERCKER_CACHE_DIR/build
export GRADLE_USER_HOME=$WERCKER_CACHE_DIR/artifactory
export BUILD_DIRECTORY=$WERCKER_CACHE_DIR/build
printenv
./gradlew -v
- script:
name: polymer build
code: |
./gradlew -i --project-cache-dir=$BUILD_DIRECTORY --rerun-tasks polymerBuild
- script:
name: prepare output
code: |
mkdir $WERCKER_OUTPUT_DIR/build
cp -r ./build/es* $WERCKER_OUTPUT_DIR/build
cp build.gradle $WERCKER_OUTPUT_DIR
deploy:
steps:
- script:
name: prepare environment2
code: |
export GRADLE_USER_HOME=$WERCKER_CACHE_DIR/artifactory
export BUILD_DIRECTORY=$WERCKER_CACHE_DIR/build