-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathjenkins-x.yml
More file actions
49 lines (49 loc) · 1.69 KB
/
jenkins-x.yml
File metadata and controls
49 lines (49 loc) · 1.69 KB
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
buildPack: maven-java11
buildPackGitURL: https://github.com/entando-k8s/jenkins-x-kubernetes.git
pipelineConfig:
agent:
image: entando-jx-maven
env:
- name: PIPELINE_CODE
value: epdp
- name: SKIP_CHECKSTYLE
value: "true"
- name: _JAVA_OPTIONS
value: -XX:+UnlockExperimentalVMOptions -Dsun.zip.disableMemoryMapping=true -XX:+UseParallelGC -XX:MinHeapFreeRatio=5 -XX:MaxHeapFreeRatio=10 -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -Xms1000m -Xmx12000m
- name: SKIP_OWASP
value: "true"
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
name: mvn-verify-pr
- sh: echo "This avoids unwanted kaniko command substitution" && skaffold build -f skaffold.yaml
name: container-build
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
- sh: echo "This avoids unwanted kaniko command substitution" && skaffold build -f skaffold.yaml
name: container-build
- sh: jx step post build --image $DOCKER_REGISTRY/$ORG/$APP_NAME:\$(cat VERSION)
name: post-build
promote:
replace: true
steps:
- sh: jx step changelog --version v\$(cat ../../VERSION)
name: changelog
- sh: publish-image-info
name: update-image-map