Mobabel Blog

Increase the building heap-size for Jenkins jobs 0

Increase the building heap-size for Jenkins jobs

In Jenkins configuration the following configs have been set: Maven Project Configuration->Global MAVEN_OPTS

Global properties->Environment variables

0

Jenkins pipeline to create and trigger jobs dynamically inside a loop

There is a requirement from the customer, to build a pipeline, which will be executed to call 100 remote entry points. Of course, we have a classic approach to do this:

How to do JVM performance analysis in docker container? 0

How to do JVM performance analysis in docker container?

1. Prerequisite Java application with docker based on JDK 8 and alpine. This app is a Jhipster application. Dockerfile:

entrypoint.sh

  2. Precheck Enter container to check the process. Of course, we...

Memory/CPU limit in Docker Swarm 0

Memory/CPU limit in Docker Swarm

Running 1,000 Containers in Docker Swarm How to Limit Resources for Docker Swarm Services https://docs.docker.com/config/containers/resource_constraints/ What does –oom-kill-disable do for a Docker container? Unable to use oom-kill-disable configuration Docker Container Resource Management: CPU, RAM...

Use multiple JDKs in one Jenkinsfile 0

Use multiple JDKs in one Jenkinsfile

As usual, the Jenkins pipeline will only use the default JDK to execute the task. How to use multiple JDKs in one Jenkinsfile for different stages? First, define the multiple JDKs in Jenkins “Global...

0

Disable Logback log files in containers

We found the spring boot project running containers will keep restarting after some time, maybe 10 days, maybe 5 days. The root cause is spring logback is writing log files into /tmp/ directory as...