Configure jenkins to publish php code

1, Add credentials to jenkins First select credentials > Global > Add credentials to select users and passwords or private keySelect private key mode 2, Install SSH Plugin plug-in When building in Jenkins, you may need to first SSH to a remote server to execute the necessary scripts, and then execute the build. At this point, you need to ...

Posted on Tue, 05 May 2020 11:28:50 -0700 by deception54

jenkins rpm package installation

1, Environmental description jenkins depends on the java environment. To start jenkins, you need to install jdk1. This installation adopts rpm package, version is jenkins-2.234-1.12.jdk version: jdk-8u51-linux-x64.tar.gz3.jenkins should be used in combination with mvn, version: apache-maven-3.6.3-bin.tar.gz4. Start Jenkins in root mode after i ...

Posted on Mon, 04 May 2020 07:51:53 -0700 by gilijk

BuildUserVars and BuildNameDescriptionSetter plug-ins for jenkins plug-in learning

The execution order of BuildUserVars and BuildNameDescriptionSetter plug-ins in jenkins plug-in learning The two plug-ins BuildUserVars and BuildNameDescriptionSetter have been used before, Through BuildUserVars, you can get who triggered the build. This plug-in will set a similar environment variable BUILD_USER Then set the environment vari ...

Posted on Sun, 26 Apr 2020 03:00:02 -0700 by kellz

mac+docker+jenkins+gitlab+k8s+springboot Build cicd from 0

This article uses jenkins installed by brew; docker uses gitlab installed by mirror; docker uses local private mirror warehouse built by mirror; and k8s to build a set of jenkins pipeline to trigger the deployment of micro-services by local submission code. 1. Installation of Jenkins jenkins can be installed in a variety of ways, either by b ...

Posted on Fri, 24 Apr 2020 09:25:16 -0700 by evanluke

Jenkins and Svn Maven Ant for automatic deployment

For notes, so that it can be configured quickly later First of all, we need to deploy Maven and Ant to the server where Jenkins is located. I won't go into details here. The only thing we need to pay attention to is that the jar files of jdt will be used when running Ant, which needs to be put in lib in advance Jenkins ...

Posted on Tue, 14 Apr 2020 10:31:00 -0700 by aladiyat23

k8s + docker + Jenkins error collection when deploying spring boot project with Pipeline

background System version: CentOS7 Jenkins version: 2.222.1 Maven version: apache-maven-3.6.3 Java version: jdk1.8.0 Git version: 1.8.3.1 docker version: 1.13.1 k8s version: 1.9.8 Install jenkins using yum install jenkins mode. My Jenkins only deployed one machine. Error 1 When using git branch: "$branches", credentialsid: "p ...

Posted on Wed, 08 Apr 2020 02:07:36 -0700 by Michael 01

Continuously Integrated Code Quality Management--Sonar

Sonar is an open platform for code quality management. Through plug-in mechanisms, Sonar can integrate different testing tools, code analysis tools, and continuous integration tools.Unlike continuous integration tools such as Hudson/Jenkins, Sonar does not simply display the results of different code checks (such as FindBugs, PMD, and so on) d ...

Posted on Fri, 20 Mar 2020 18:26:19 -0700 by Batosi

Jenkins deployed in war package mode

1, Deploy Jenkins #Install Tomcat as middleware #Need JDK environment above Java 1.8 [root@jenkins /]# java -version openjdk version "1.8.0_102" OpenJDK Runtime Environment (build 1.8.0_102-b14) OpenJDK 64-Bit Server VM (build 25.102-b14, mixed mode) #Deploying Tomcat [root@jenkins ~]# wget https://mirrors.tuna.tsinghua.edu.cn/apache/tomcat/t ...

Posted on Fri, 20 Mar 2020 13:07:49 -0700 by shinichi_nguyen

Android automated test: Appium+python+Jenkins automated test framework construction

Catalog   Overall knowledge framework Environment preparation (windows) appium installation and use deviceName can be obtained through adb devices Obtaining appPackage and appActivity: connecting to dos input of mobile phone Pycharm introduces the plug-in Appium Python client ---- associate Ap ...

Posted on Tue, 21 Jan 2020 02:29:57 -0800 by borabora12

Primary online failure: Thinking after database connection pool leaks

Yun Qi Hao: https://yqh.aliyun.comThe first-hand cloud information, the selected cloud enterprise case base of different industries, and the best practices extracted from many successful cases help you to make cloud decision! 1: Preliminary investigation In the morning, as the peak of energy efficiency platform system, the system load is usual ...

Posted on Sun, 19 Jan 2020 04:05:35 -0800 by Muntjewerf