简体   繁体   中英

Jenkins server crashes while building maven project

After the clean install package Maven build is triggered it takes no more than 15-20 seconds for the job to freeze. If I refresh the page it shows "This site can't be reached". In order to make it work again I have to manually restart it from the Ubuntu Server. The logs don't show any building exceptions that would shutdown Jenkins. I also increased the heap size of Jenkins to 512M within etc/default/jenkins .

Configuration:

  • Spring Boot project hosted on GitLab
  • GitLab is integrated with Jenkins CI (it works fine and starts build on a new push on master)
  • Jenkins is hosted on a Digital Ocean droplet running on Ubuntu OS with 1GB RAM

I also faced the same issue, my project crashed after

clean install package

but increasing the ram from 1GB to 4GB solved my issue

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM