-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjenkins-x.yml
executable file
·37 lines (37 loc) · 1.07 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: maven-java11
pipelineConfig:
agent:
image: entando-jx-maven-java11
env:
- name: PIPELINE_CODE
value: pce
- name: _JAVA_OPTIONS
value: -XX:+UnlockExperimentalVMOptions -Dsun.zip.disableMemoryMapping=true -XX:+UseParallelGC -XX:MinHeapFreeRatio=5 -XX:MaxHeapFreeRatio=10 -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -Xms10m -Xmx512m
pipelines:
pullRequest:
build:
replace: true
steps:
- sh: mvn versions:set -DnewVersion=$PREVIEW_VERSION
name: set-version
- sh: fix-git-branches
name: fix-git-for-sonar
- sh: mvn-verify-pr -Pinter-process-verification
name: mvn-verify-pr
postBuild:
replace: true
steps: []
promote:
replace: true
steps: []
release:
build:
replace: true
steps:
- sh: fetch-history-by-days 30
name: fetch-history-for-sonar
- sh: mvn-deploy-release
name: mvn-deploy-release
promote:
replace: true
steps: []