-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathjenkins-x.yml
executable file
·38 lines (37 loc) · 1.03 KB
/
jenkins-x.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
buildPack: entando-maven-lib
buildPackGitURL: https://github.com/entando-k8s/jenkins-x-kubernetes.git
pipelineConfig:
env:
- name: PIPELINE_CODE
value: eqp
pipelines:
pullRequest:
build:
replace: true
steps:
- sh: mvn versions:set -DnewVersion=$PREVIEW_VERSION
name: set-version
- sh: >-
mvn clean deploy \
-Dgpg.homedir=${GPG_HOMEDIR} \
-Dgpg.keyname=${GPG_KEYNAME} \
-Dgpg.passphrase=${GPG_PASSPHRASE}
name: mvn-deploy
promote:
replace: true
steps: []
release:
build:
replace: true
steps:
- sh: >-
mvn clean deploy \
-Dgpg.homedir=${GPG_HOMEDIR} \
-Dgpg.keyname=${GPG_KEYNAME} \
-Dgpg.passphrase=${GPG_PASSPHRASE}
name: mvn-deploy
promote:
replace: true
steps:
- sh: jx step changelog --version v\$(cat ../../VERSION)
name: changelog