After installing several plugins , I needs to restart Jenkins and went into a “shutting down” mode, but never restarts. how can I restart Jenkins ? Solution to restart Jenkins To restart Jenkins you can use : [jenkins_url]/safeRestart : Allows all running jobs to complete. New jobs will remain in the queue to run after […]
Catégorie: devops
(SOLVED) How to deploy build jar/war to remote server over SSH on Jenkins ?
Install Publish Over SSH Plugin In a jenkins pipeline, we need to deploy the jar/war file after build, we can do this using SSH to a remote server (example ubuntu Server) . We will need to install Publish Over SSH So go to Manage Jenkins —> Manage Plugins Add remote server to Jenkins Config After […]
Example : Jenkins and GitLab integration
Gitlab and Jenkins integration : The objective of GitLab and Jenkins integration is to allow us to trigger a Jenkins build when ( jenkins gitlab webhook ) : 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 […]
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. Before starting this tutorial , you will need to install docker Jenkins […]