Jenkins

Jenkins - 安裝 envinject 外掛

  • September 8, 2016

我試圖在 Jenkins 中安裝 envinject 外掛,但找不到該外掛。

當我在外掛列表中搜尋時,我得到以下資訊 -

Environment File Plugin

This plugin enables you to set environment variables via a file. The file's format must be the standard Java property file format. Superseded by the [EnvInject Plugin]? The property file is always retrieved from the file system of the Jenkins master node, even in distributed setups with slave nodes. You can reference already defined environment variables both to specify the path to the property file, in a job's configuration, and in property values, in the property file.



Shared Objects Plugin


This plugin makes it possible to share objects (script file, source file, tool installation, ...) from an environment in Jenkins and manage dynamically these objects through environment variables with the [JENKINS:EnvInject Plugin] during the job build.

在外掛列表中(如果您尚未安裝,則為您提供“可用外掛”選項卡),它被列為:

Environment Injector Plugin  -> This plugin makes it possible to set an environment for the builds.

而外掛頁面的連結是:https ://wiki.jenkins-ci.org/display/JENKINS/EnvInject+Plugin

引用自:https://serverfault.com/questions/801656