-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjenkins-x.yml
executable file
·43 lines (43 loc) · 1.14 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
38
39
40
41
42
43
buildPack: javascript
buildPackGitURL: https://github.com/entando-k8s/jenkins-x-kubernetes.git
pipelineConfig:
agent:
image: entando-jx-nodejs12
pipelines:
pullRequest:
build:
replace: true
steps:
- sh: >-
npm install -g npm-install-peers;
npm install && npm-install-peers;
npx eslint ./src && npx sass-lint -v;
name: npm-install
- sh: JX=true npm run coverage
name: npm-test
postBuild:
replace: true
steps: []
promote:
replace: true
steps: []
release:
build:
replace: true
steps:
- sh: >-
npm install -g npm-install-peers;
npm install && npm-install-peers;
name: npm-install
- sh: >-
npx eslint ./src && npx sass-lint -v;
JX=true npm run coverage;
name: npm-test
- sh: >-
npm config set '//registry.npmjs.org/:_authToken' "${NPM_AUTH_TOKEN}";
npm run prepublish;
npm run jenkins;
name: npm-build
promote:
replace: true
steps: []