Jenkins step-by-step build environment (agent)

root@jenkins:~# netstat -antp|grep 50000 tcp6 0 0 :::50000 :: LISTEN 5139/java 1.52 Install Jenkins root@ubuntu20:~# dpkg -i jenkins_2.414.3_all.deb The key to configuring various types of Agents is how to start the Agent ? JNLP Agent corresponds to the method of “starting the agent through Java Web” ? Establish a Web connection based on HTTPS collaboration […]

jenkins automated deployment (node server)

1. Nginx installation and startup If we want to install a software package, we can do the following: # Search for packages dnf search package-name # View package information dnf info package-name # Install packages dnf install package-name Deployment will use nginx, so you need to install nginx first: dnf install nginx Start nginx: # […]

Continuous delivery-Jenkinsfile syntax

The scripting language that implements the Pipeline function is called Jenkinsfile, which is implemented by the Groovy language. The Jenkinsfile is generally placed in the project root directory and is controlled by the source code management software along with the project. There is no need to copy many settings to a new project each time […]

Deploy projects using jenkins

1. Deploy the project in jenkins Make sure the project is running properly 1. Enter jenkins 2.New 3. Build execution script There must be two folders, jar and project. If not, add the following sentence to the script below mkdir -p ${projectJar} #!/bin/sh jarPath=/usr/java/jar projectJar=/usr/java/project echo “============Delete old jar=============” rm -rf ${projectJar}/demo.jar echo “======Copy the […]

[Jenkins] The most detailed automated testing on the entire network

A series of articles about learning Jenkins automated testing Robot Framework concept Robot Framework installation Pycharm + Robot Framework environment construction Introduction to Robot Framework Jenkins automated testing 1. Robot Framework concept Robot Framework is a Python-based, extensible keyword-driven automated testing framework. It has several main features: Create test cases using easy-to-use tabular syntax; Provides […]

Jenkins + Docker one-click automated deployment of SpringBoot applications with the most streamlined process

This article implements the simplest and most comprehensive one-click automatic deployment project of Jenkins + Docker + Spring Boot. Complete steps, avoid pitfalls. Environment: CentOS7 + Git (Gitee) Implementation steps: Install Jenkins on Docker, configure the basic information of Jenkins, and use Dockerfile and Shell script to automatically pull, package and run the project. 1Install […]

Linux-Xshell-Jenkins

1. Agile development and continuous integration (CI) 1. What is agile development Agile development takes the evolution of user needs as the core and adopts an iterative and step-by-step approach to software development. In agile development, the software project is divided into multiple sub-projects in the early stages of construction, and the results of each […]

Jenkins project deployment

Use jenkins to deploy projects The simple version uses jenkins to deploy projects Deploy the war package to tomcat Deploy the existing war package to tomcat (jenkins and tomcat are on the same host) Click on the new task on the Jenkins homepage Enter task name Choose to build a free-style software project and click […]

jenkins configuration ftp release

We in Jenkins publish our compiled firmware to the product library. There are many upload methods. Here are two methods of FTP: 1. GUI plug-in configuration Description: This plug-in can publish the built product (for example: Jar) to FTP. Official description: Publish Over FTP Plugin installation steps: System Management→Manage Plugins→Optional Plugins→Artifact Uploaders→Publish Over FTP Plugin […]