Jenkins continuous integration software version released, jenkins Software Version
1. What is jenkins? Jenkins is an open-source continuous integration tool written in Java. After a dispute with Oracle, the project will be reviewed from the Hudson project. Jenkins provides continuous integration services for software development. It runs in a Servlet container (for example, Apache Tomcat ). It supports Software Configuration Management (SCM) tools (including AccuRev SCM, CVS, Subversion, Git, Perforce, Clearcase, and RTC) and runs projects based on Apache Ant and Apache Maven, and any Shell scripts and Windows batch processing commands. It can be triggered by various means. For example, if it is triggered when it is submitted to the version control system, it can be scheduled through a mechanism similar to Cron, or it can be requested through a specific URL when other builds have been completed. 2. what can jenkins do? Continuous software release/test projects. Monitors the execution of external calls.
3. Why jenkins? Any part of the release is automatically completed without too much manual intervention. This helps reduce repetitive processes to save time, cost, and workload;
4. How to Use jEnkins (related configuration and plug-ins)The installation and registration of jenkins are not described here. We will introduce how to use jenkins to publish a project.
In the instance, I release a front-end project plan and a front-end project conversation. The back-end code uses java and the code is hosted on the coding. Now, the relevant configuration is performed:
The following describes several possible plug-ins:
Ansible is a simple and efficient automated O & M management tool developed using Python. It can manage more than N machines in bulk, you can deploy applications, install software, execute commands, configure and orchestrate tasks on multiple machines concurrently.
You can use Git parameter to select a specified branch for building. It is very convenient to manually select a label for packaging.
This plug-in is used to connect to other Linux machines through SSH, remotely transfer files and execute Shell commands.
Jenkins new task
Specific settings
Application of MultiJob ProjectIf I want to publish the front-end and back-end with one click at the same time, this is required
MultiJob ProjectOperation steps:
A project that can be released with one click is formed. If you want to release with one click, click the All Task Name and click build now on the left.
How to automatically trigger a build task
- Select the following options in the build trigger column and enter the desired action and branch to trigger the build. (You need to install some plug-ins)
View the Log location
- Click a task to go to the task page. If you have any build behavior, there will be a build history in the lower left corner of your page. Click build at a certain time you choose, click the console output and you will see the corresponding compilation log.