asdf
dustin/hudctrl/pipeline/head Something is wrong with the build of this commit
Details
dustin/hudctrl/pipeline/head Something is wrong with the build of this commit
Details
parent
403f8fbf64
commit
8f2e6f6748
|
@ -21,7 +21,7 @@ pipeline {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
stage('Build Frontent') {
|
stage('Build Frontend') {
|
||||||
steps {
|
steps {
|
||||||
container('node') {
|
container('node') {
|
||||||
dir('ui') {
|
dir('ui') {
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
#!/bin/sh -ex
|
#!/bin/sh -ex
|
||||||
|
|
||||||
sleep infinity
|
|
||||||
npm install
|
npm install
|
||||||
npm run build
|
npm run build
|
||||||
|
|
|
@ -15,8 +15,10 @@ spec:
|
||||||
env:
|
env:
|
||||||
- name: npm_config_cache
|
- name: npm_config_cache
|
||||||
value: ./npm_cache
|
value: ./npm_cache
|
||||||
|
- name: NODE_OPTIONS
|
||||||
|
value: '--max_old_space_size=512'
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpu: 500m
|
memory: 1G
|
||||||
securityContext:
|
securityContext:
|
||||||
readOnlyRootFilesystem: true
|
readOnlyRootFilesystem: true
|
||||||
|
|
Loading…
Reference in New Issue