download 4, copy the target required for the build Because folders are not created in this directory at this time, they are required at build time or when they are published C:\Program Files (x86) \msbuild\microsoft\visualstudioFor example, you need to manually copy related folders from this directory locally to the slave server. 5, installing the GAC Obtain the latest GAC and install it on the slave server. Because the public class libraries in our project are referenced in the GAC, the GA
Preparatory work:
Install SVN:VISUALSVN, configure SVN's environment
Use SVN to manage the source code.Similar to this:
Install Jenkins download a jenkin.war on Tomcat, similar to this:
Run up
And then it's the VS2013 you can install MSbuild or the VS2013 I use.
The default installation is this path:
Then put the MSBuild plugin on Jenkins
5. Create a n
A recent deployment of a project on Jenkins encountered a problem where the coverage test report could not be displayed.
After building success, the coverage rate of the configuration is reported as the storage location not exists failed. It is evaluated that Jenkins sets the path according to the publish build step each time and deletes the path at startup, thi
1. Gerrit Create new Project
Admin login Gerrit,project to create a new project with the same project name as the remote git library.
2. Jenkins Configuration
> Configuration Review Jobs
The local git library address that git is configured to Gerrit
Add Gerrit Trigger Configuration
> Configuring remote GIT code base automatic deployment
git configured as remote git library address
Add build triggers: Poll S
Simulation scenario: Using the Jenkins Continuous integration tool to deploy the UAT environment with a deployment package for the SIT environment, you can use the Jenkins Copy Artifact plugin plugin.
The installation plugin is omitted here ...
Here is the procedure for configuring the copy Artifact plugin:
Job test is the job for the sit environment of
SH script to the remote server and execute the script (the script is mainly to close Tomcat and delete the war package under WebApps)//SCP sshexec4. Copy the war package to the remote server5. Launch Tomcat, deploy complete.The sh script, which is used to close Tomcat and delete the war package, uses the way to kill the process instead of the Tomcat-shutdown script, because when Tomcat is closed, execution shutdown.sh will error:#!/bin/bash#KillTomcat Piduser=`WhoAmI' Pidlist=`PS-ef|grepapache-
Before using Maven and ant to compile the project, say nothing about using Jenkins's plug-in to automatically deploy the project1. First Jenkins installs the plugin Deploy to container Plugin, as: Https://wiki.jenkins-ci.org/display/JENKINS/Deploy+Plugin2. After installation, you will see the options in the project configuration3. Configure the Tomcat remote deployment
1. Create a new MAVEN project: Click the New button in the top left corner, enter the task name in the input box, and select "Build a free-form software project"If you have a project that already exists very similar, you can choose Copy from build for convenience2. Source Control: Select Subversion, enter the SVN address in the Repository URL, click the Add button after credentials, enter SVN's account and password in username and password, After saving, select the account password in the select
Need to install software (Jenkins Server):Gradle, SDKOne, Gradle installation (the Gradle version of the server deployment needs to be equal to or higher than the Gradle version of the development environment)1,: Http://services.gradle.org/distributions (Gradle-2.14.1-all.zip)2. Upload to Linux and unzip: Unzip Gradle-2.14.1-all.zip3. Configure Environment variables:Export gradle_home=/home/cfjekins/gradle/
Deploy Jenkins to a remote (Linux Server) and jenkinslinux
Next, the last time we said that we only implemented Local Automatic deployment. This is only applicable when the development environment and deployment environment are on the same machine. However, we usually need to deploy the project to a remote Linux server, so the main content of this section is:
1.
Install Tomcat.
NBSP;
Download Jenkins WAR official website:
https://jenkins.io/Latest stable versionHttp://mirrors.shu.edu.cn/jenkins/war-stable/2.138.1/jenkins.war
Put the war package into the WebApp directory
download jenkins.war to/usr/local/tomcat/.../webapps,tomcat are automatically deployed ; Iv. Browser access:http://centos:8080/
The goal of this paper is to implement ASP NET core-based practicesOperating Environment
Cent OS 7
VS Code
. NET Core
Cmder
Run Docker, set up the Docker image Accelerator, or the internal download image will be slow. To learn how to get started with Docker, you can refer to Docker entry and combat
Create a docker network that allows containers to access each other
sudo Docker network create-d Bridge docker-net -D parameter indicates the Docker netwo
Reprint: http://itjh.net/2016/04/26/centos-install-jenkins/Jenkins is an open source project that provides an easy-to-use, continuous integration system that frees developers from complex integrations and focuses on more important business logic implementations. At the same time, Jenkins can implement errors in monitoring integration, provide detailed log files a
In the online seemingly did not find Jenkins's Chinese too many documents, and some are about Hudson some of the fragmented, so they learn while practicing summing up the following series of articles, hope to help everyone for Jenkins use. This series of articles is based on my 3 years of Scm+build release experience, summarizes the most commonly used most basic functions, the article basically comes from Jenkins
Http://blog.sina.com.cn/s/blog_68f262210102vx8o.htmlSeventh test case access to Jenkins automatic operation------Web Automation testing webdriver+testng--from zero to Proficient (series)The ultimate goal of automated test cases is unattended automated regression testing, regardless of the language or framework in which the test cases are written, if you want to achieve this, you need to use Jenkins or Hudso
As a slave Linux machine for the CentOS system.
1 Linux slave Machine setup
Create Jenkins user sudo/usr/sbin/useradd-m jenkins-d/home/jenkins;
View information ID Jenkins for Jenkins Users and groups:
uid=506 (Jenkins) gid=506 (
Tools
This is nothing to say, there is an online tutorial on the Internet good "pro git"
Repo
A multi-code base management tool based on Git
This tool is Google's git based multi-project management tool that can be combined with Gerrit.
Gerrit
Code library server Tools, code audit tools
An online code review tool based on GIT that builds code audit platforms and processes around it
Gitlab
Code Presentation Platform
Gitlab here only
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.