Example : Jenkins and GitLab integration

The objective of GitLab and Jenkins integration is to allow us to trigger a Jenkins build when: A code is pushed to a repository A merge request is created. In this tutorial , we will try to integrate GitLab and Jenkins. GitLab Configuration Create build user and access token at Gitlab To create a user […]

En Lire Plus

Example of SonarQube with Jenkins using Docker Images

Objective In the end of this tutorial we will have two Docker containers running on the same host, one will be for Jenkins and the other for SonarQube. In the Jenkins container, we will use sonar-scanner running locally to perform the code quality inspections. Jenkins Installation Downloading Jenkins We will start by downloading the official Jenkins image […]

En Lire Plus

(SOLVED) Maven not found in Jenkins

If you are running a Maven/Spring project in Jenkins and you are using the shell script option to run some maven command like : and you got this the build error : /Users/Shared/Jenkins/tmp/jenkins8087926087546049217.sh: line 3: mvn: command not found Try this solution : Import the maven path variable before execute the mvn command Read also […]

En Lire Plus