-
Notifications
You must be signed in to change notification settings - Fork 1
/
wercker.yml
47 lines (43 loc) · 1.74 KB
/
wercker.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
box: maven:3.5.0-jdk-9-slim
dev:
steps:
- script:
name: export for debugging
code: export
- script:
name: maven build
code: echo $MAVEN_SETTINGS_XML > settings.xml ; mvn -s settings.xml -DaltDeploymentRepository=snapshots::default::$MAVEN_SNAPSHOTS_URL -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B clean install deploy
build:
steps:
- script:
name: export enviroment for debugging purposes
code: export
- script:
name: maven build
code: echo $MAVEN_SETTINGS_XML > settings.xml ; mvn -s settings.xml -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B clean install
deploy:
steps:
- script:
name: export environment for debugging purposes
code: export
- script:
name: maven deploy
code: echo $MAVEN_SETTINGS_XML > settings.xml ; mvn -s settings.xml -DaltDeploymentRepository=snapshots::default::$MAVEN_SNAPSHOTS_URL -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B clean install deploy
trigger-grpc:
steps:
- script:
name: Coherence gRPC trigger
code: >
curl -i -H "Authorization: Bearer $BUILD_TOKEN" \
-H 'Content-Type: application/json' -X POST \
-d '{"pipelineId": "59ee2e559766e5010097ea2f"}' \
https://app.wercker.com/api/v3/runs
trigger-cloud-collections:
steps:
- script:
name: Cloud Collections project trigger
code: >
curl -i -H "Authorization: Bearer $BUILD_TOKEN" \
-H 'Content-Type: application/json' -X POST \
-d '{"pipelineId": "59e8d68968cc670100a44d4d"}' \
https://app.wercker.com/api/v3/runs