Jenkins obtains the source code on git.

Source: Internet
Author: User
Tags how to use git

Jenkins may encounter three situations when obtaining the source code on git. Here we will introduce them separately:

1. Get public projects on git

You only need to configure the repository URL.

How to Use git to obtain the source code in Jenkins

2. Get private projects on git

2.1 use user name and password

The repository URL uses the HTTP protocol.

2.2 Use Key

The repository URL uses the SSH protocol and starts with git.

Original article address:

Http://www.xuebuyuan.com/2042085.html

Jenkins obtains the source code on git.

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.