Jenkins system settings and Jenkins system settings

Source: Internet
Author: User

Jenkins system settings and Jenkins system settings

The current document is written in Jenkins.2.46.2If it is updated later, correct the errors in time.

SSH-key Management

Jenkins pipeline contains git, so you can add your deployment key in JenkinsJenkins-> Credentials-> SystemYou can create a new Domain, for example, git.coding.net under this Domain. After adding the key, you can use this configuration to perform Git operations when using the Git that comes with Jenkins.

If this item is not configured, an error occurs when you use the built-in Git command. You can only execute shell to perform Git operations through the configuration in the system. You can configure this item as needed, you don't need to talk about it later.

Environment variable settings

InJenkins-> System Management-> system informationYou can view all the environment variables, system attributes, and plug-ins in the current Jenkins system. You haven't checked the environment variables carefully before installing them. When running pipeline, you need to use some environment variables that have not taken effect, we thought we could solve this problem by modifying the Jenkins running user, but after modifying the user to the root user, it still does not solve the problem. If we need to change the environment variable PATH, we needJenkins-> System Management-> system settings.Global attributes, Hook upEnvironment variables, AddPATHAnd corresponding environment variable values

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.