Java continuous integration (3) - configure test code coverage for maven and upload to sonar

Step 1: configure a new profile in pom.xml to support the Jacobo plug-in <!-- BEGIN: Specific to mapping unit tests and covered code --> <profiles> <profile> <id>coverage-per-test</id> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>mave ...

Added by ShaunO on Fri, 03 Apr 2020 18:02:45 +0300

Jenkins+Gitlab for continuous integration

1, Jenkins and continuous integration 1) What is Jenkins? Jenkins is an open source software project, which aims to provide an open and easy-to-use software platform and make continuous integration of software possible. Jenkins is a continuous integration tool developed based on Java, which is used to monitor continuous and repeated work. Its ...

Added by ferozsho on Tue, 11 Feb 2020 16:09:03 +0200

Spring cloud + Maven + lancher2 + kubernetes (k8s) + git + Jenkins + pipeline + docker to realize automatic packaging deployment

Environmental preparation: k8s environment managed by lancher 2.3 jenkins (you can use docker to build or install directly. If you are not familiar with k8s, it is not recommended to use helm to install jenkins. Many configurations are not convenient to change. I built it with docker, but I need to record and mount the docker command. It is r ...

Added by sitorush on Fri, 03 Jan 2020 11:35:24 +0200

The lightest configuration of Jenkins + docker + dockerfile Maven plugin + harbor CI / CD spring boot project

explain This paper is only for future reference, recording some key steps and stepping on the pit Dockerfile Maven plugin building image configuration <plugin> <groupId>com.spotify</groupId> <artifactId>dockerfile-maven-plugin</artifactId> <version>1.4. ...

Added by matthewc on Fri, 20 Dec 2019 16:06:33 +0200

HashMap Implementation Principle Learning

HashMap source from: android-25/java/util/HashMap 1. Construction methods static final int MAXIMUM_CAPACITY = 1 << 30; static final int DEFAULT_INITIAL_CAPACITY = 4; static final float DEFAULT_LOAD_FACTOR = 0.75f; public HashMap() { this(DEFAULT_INITIAL_CAPACITY, DEFAULT_LOAD_FACTOR); } // The default parameter is 4,0.75f public Hash ...

Added by phpforever on Wed, 27 Nov 2019 05:01:40 +0200

Building a continuous deployment on containers and best practices

To understand continuous integration and deployment, you need to understand its components and the relationships between them.The diagram below is the most concise and clear diagram of continuous deployment and integration I've ever seen. picture source Continuous deployment: As shown in the diagram, the development process is as follows:Progr ...

Added by floR on Fri, 08 Nov 2019 05:03:41 +0200

Building microservice CICD system based on Kubernetes/Jenkins/Harbor/Sonarqube

**Project description** 14 JAVA eureka microservices 5 Node projects A Node project VUE generates a static page as the front end pgsql redis rabbitmq emqx Project mind map **Build process:** Jenkins (pull gitlab code -- > Maven package java project / npm package node project / gradle package Android -- > check the quality of sonarqub ...

Added by loudrake on Sun, 03 Nov 2019 09:00:51 +0200

Jenkins and GitLab Integrated Automated Testing and Deployment Detailed Tutorial-Building Maven Project

When Jenkins and the services that need to be published are on the same server, you want to copy the Jar package to the specified folder and publish it. Configuration and Jenkins and GitLab Integrated Automated Testing and Deployment Detailed Tutorial - Building Maven Project (1) It's slightly differ ...

Added by vtroubled on Thu, 03 Oct 2019 20:26:21 +0300

Construction of Code Quality Automation Analysis Platform by sonar+Jenkins

1. Introduction by Sonar Sonar is an open source tool for managing code quality. It can analyze bug s and vulnerabilities in code and Code Smells. It supports the detection of more than 20 programming languages, such as java, c/c++, python, php and so on. Currently, more than 85,000 organizations use sonar. Sonar can be fully integrated with De ...

Added by ade1982 on Mon, 09 Sep 2019 07:06:58 +0300

CI/CD:Jenkins Pipeline Practice

Catalog 1 Jenkins2.X Pipeline 1.0 CI/CD 1.1 pipeline Brief Introduction 1.2 Jenkinsfile 1.3 Pipeline Grammar 1.3.1 scripted pipeline 1.3.2 Declarative Pipeline 1.4 Blue Ocean Advantages of 1.5 Pipeline 2 Multi-branch Pipeline Practice 2.1 Con ...

Added by DanArosa on Sun, 08 Sep 2019 13:52:14 +0300