Software project Management hw2-Continuous Integration experiment

Source: Internet
Author: User

First, install and configure Maven

1. Unzip the Apache-maven compressed package uploaded by the TA.

2. Configuring Maven_home Environment variables

First, modify the ". Bash_profile" file to edit the file in the terminal input "vim. Bash_profile" and add "/bin" after "Maven_home" according to the experimental requirements. Results

Then, enter "source. Bash_profile" To make the configuration file effective.

3. Enter "Mvn-version" in the terminal to check if the configuration is successful.

MAVEN configuration succeeded.

4. Create a MAVEN project

First, open IntelliJ idea and check if IntelliJ idea supports maven:

, you can see the Maven tab, stating that IntelliJ idea supports the creation of MAVEN projects.

Then, create a new MAVEN project:

Click: Next

Input GroupID and Artifactid

Edit the Pom.xml file to add JUnit dependencies.

Second, install SVN server and client.

Previously, Git was installed in the group lesson, so skip the experiment in this step.

The process of installing Git has been documented in detail in the following URLs, which are not repeated here.

Address: http://git.oschina.net/moonfire/computer-composition-principle-2013-person/wikis/3013212086- Zhao Junting-First time assignment -15.10.11

Third, install and configure Jenkins

1. Follow the experimental instructions: put Jenkins.war into Tomcat's WebApp directory, launch tomcat: Enter into the Tomcat-apache directory, enter in the terminal: "bin/startup.sh". Access Http://127.0.0.18080/jenkins. The results are as follows:

2. Download and install git Plugin and Github Plugin: Click Manage Plugins on the left of system management.

The installation interface is as follows:

3. Click System settings on the left side of system management:

To configure the JDK's home directory:

Configure MAVEN's home directory and Git's file path:

4. Create a new Integration task:

First, create a new MAVEN project

Enter the URL for git:https://github.com/CindyZJT/lab1.git Click Save, Build now. Results

The first failure is due to less uploading of files. After re-add commit, error resolved, upload succeeded.

Software project Management hw2-Continuous Integration experiment

Related Article

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.