after jenkins successfully executes the npm install and npm run build construction, the jenkins service will be closed. How can I keep the jenkins service open after the project construction is completed?
after jenkins successfully executes the npm install and npm run build construction, the jenkins service will be closed. How can I keep the jenkins service open after the project construction is completed?
test found that one of the possible reasons is insufficient memory resources.
Test results:
package a castrated version of demo of vue-element-ui template (with only a few menu functions), and the available memory 900mb of 2g centos7, with 1 core is about. It can reproduce the problem every time.
release memory, available memory 1400mb around, package again, problem solved.
after consulting the boss, the boss said that the resource consumption is relatively high when the front end is packaged, so it is recommended that the configuration of the jenkins server should be more than 2 cores and 4G.
Previous: Generate a page by dragging the component in the background
Next: Webpack + koa A message waiting to be packaged wait until bundle finished: