Solution ProcessInstall Docker, and initialize the Docker Swarm Management Server cluster to install Jenkins, and deploy it with mananger nodes in Swarm, and install the Docker private mirror server without Docker installation for multiple environments to compile. Because of
Jenkins ~ Works with Docker and dotnetCore to flexibly deploy production and test environments. jenkinsdocker
First of all, it is clear that this article describes how to deploy the dotnetcore project in the production and testing environments. In the past, in the frameworks project, we can set the web. environment Variables of config, and then specify specific variables when releasing to release the produc
First, the processSvn-->jenkins-->build Image-->run ContainerSecond, step1. Install JenkinsDownload the Jenkins installation package (Jenkins.war) and deploy to Tomcat.2. Initial ConfigurationInitialize the configuration follow the recommendations to install the necessary plug-ins, maven students need to install Maven Integration plugin, not required here. 3, building
See the code base for details:Https://github.com/flasheryu/docker-jettyA personal GitHub account is set up inside the settings of the Docker hub.Then create a new repository in Dockerhub and associate this repository with GitHub.Whenever a new code check in is available, the Docker hub will automatically build Dockerfi
Step-by
Installing the Jenkins Docker image
sudo docker pull Jenkins
Create Jenkins_home folder in home directory
mkdir Jenkins_home
Put the Jenkins_home folder to Jenkins user operation rights
sudo chown-r 1000/home/jenkins_home
Start
1. Create a new ASP. NET Core MVC application:2. Upload it to git:3. Create a Jenkins task(1) Select "New Task", enter the task name, select "Free Style project", then click OK:(2) Select "Source Code Control" to fill in our Git addressEnter H/2 * * * * settings two minutes to pull once(3) Build environmentCheck the Delete workspace before build start delete workspace before setting up the buildThe tick Abort the build if it‘s stuck is to set the time
1, System Management-system settings, add SSH remote hosts2. System Management--Global tool configuration, configure local Jdk,maven3. Create a new task and select "Build a Maven project"3. Configuration3.1. Select "Discard old build" to avoid full disk3.2, source management, choose SVN, configure the address and account3.3. Select manual build, do not configure build trigger3.4. Build the Environment3.4.1, Packaging3.4.2, execute shell, locally compile Dock
Allow GitHub to bind to the Docker Hub Docker hub->create->create automated build for the first time this step requires GitHub authorization. will automatically jump to GitHub consent authorization.
Create a Docker build project o
Resources:Prerequisite: The Docker environment has been configured, posting Changge is the host's hostname, and also said that the blogger's environment is Win7 the following is the use of VMware installed two Linux ubuntu17.1 virtual machine download Mirror library
sudo docker pull Jenkins
Download process and complete the following:
In the home directory to
GitHub Build: Build a GitHub site (warehouse) Daocloud: public hub search git download github mirror docker pull gitlab/gitlab-ce:8.7.0-rc3.ce.0 \ download GitHub image. Test Container: I was mapping his port settings to the host's 3280 because the 80 port was already occup
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.