Linux CentOS springboot jenkins+maven+git for sustainable automatic package deployment

jdk environment: 1.8 linux version: CentOS 6.10 git version: 2.1.1 maven version: 3.5.4 Prepare jdk in advance (omitted) 1, Install and deploy jenkins 1. Download rpm file: 2. Upload to server and install 3. Modify jenkins port (default 8080) 4. Start and restart jenkins 5. Visit jenkins 6. Install plug-ins and create users ...

Posted by vandana on Sun, 17 May 2020 01:03:52 -0700

Jenkins+maven+gitlab+Tomcat auto deployment version update and rollback

Implementation effect of this blog: combined with maven+gitlab, you can use Jenkins to implement version iterative update and version rollback operations for tomcat servers in different environments (test and online environments). After deployment, you only need to click a few times. 1, Environmental preparation system IP host name Running s ...

Posted by John Rowe on Tue, 05 May 2020 19:45:51 -0700

Spring boot docker Jenkins automatic deployment and image upload

springboot + docker + jenkins automatic deployment project. jenkins, mysql and redis are all operated by docker without using virtual machine. They are running on Alibaba cloud server (centos7) 1. Don't talk about the preparatory work 2. Create a new Dockerfile in the root directory of the project The contents of the Dockerfile file are: #base ...

Posted by MyWebAlias on Mon, 04 May 2020 02:13:46 -0700

Container Mirror Construction for OS Foundation Environment, JDK Environment, jenkins.war, etc.

1. Build os basic mirror 1) Make your own os mirror Dockerfile, note that the first letter "D" of the Dockerfile name must be capitalized, otherwise it will not be recognized when you build it [root@k8s centos7.6]# cat Dockerfile #Basic Mirror Source, download centos:7.6.1810 in dockerhub beforehand FROM centos:7.6.1810 ...

Posted by Ravenous on Sun, 03 May 2020 12:52:47 -0700

Building Jenkins as code

This article starts from: Jenkins Chinese community Original link By Amet Umerov Translator: s1mple   Building Jenkins as code This paper mainly introduces the specific method of Jenkins "configuration as code" mode, and explains the mode with tools and scripts In our company, we try t ...

Posted by GregArtemides on Wed, 08 Apr 2020 02:15:11 -0700

Jenkins pipeline syntax-declarative

1: Introduction Details can be found in the w3c tutorial https://www.w3cschool.cn/jenkins/jenkins-jg9528pb.html 1:jenkins pipeline is divided into declarative and script 2: The advantage of declarative is simplicity, let's not say much else. See below 2: Overview of declarative Pipeline pipeline { ...

Posted by tnkannan on Sat, 14 Mar 2020 22:45:45 -0700

Jenkins to bring html code online and rollback

1. Case EnvironmentII. Deployment of Gitlab1) Deploy Gitlab2) Configure Secret-Free Login3) Test Secret Login3. Deployment of Jenkins4. Jenkins Integrated GitlabV. Deployment of Nginx6. Jenkins Implement Code Automatically Online7. Jenkins implements automatic code deployment, fallback and duplicate construction 1. Case Environment system ...

Posted by david-remone123 on Tue, 25 Feb 2020 08:29:14 -0800

Jenkins+Ansible installation and deployment

1, Environmental description Operating system: CentOS 7.5 x86 ʄ JAVA version: jdk-8u181 Jenkins version: jenkins-2.134 Ansible version: ansible-2.3.3.0 2, Preparation before configuration # systemctl disable firewalld.service # systemctl stop firewalld.service # sed -i 's/SELINUX=enforcing/SELINUX=disabled/' /etc/selinux/ ...

Posted by gnawz on Fri, 31 Jan 2020 09:37:23 -0800

Git branch version management

Git branch version management                    the mainstream code management tool is basically GIT. Although svn is also used by some people, it is not so much. Git is still accepted by most people. The c ...

Posted by cwetherbee on Sun, 19 Jan 2020 02:48:59 -0800

Jenkins installation of Linux system

1, background Why Jenkins? It's more convenient than writing your own scripts. You don't need to care about the corners. You just need to add core compiled scripts to save developers' attention and energy You can let the test or project manager who does not understand the relevant development gen ...

Posted by aalmos on Tue, 14 Jan 2020 02:34:50 -0800