2015-12-10 28 views

回答

1

您可以使用InjectEnv plugin一些設置,如下面:

enter image description here

在詹金斯生成步驟(或交步驟),你可以使用$ MY_LIST變量:

enter image description here

+ echo build-failure-analyzer.xml buildtriggerbadge.xml cloudbees-plugin-gateway.xml com.cloudbees.dockerpublish.DockerBuilder.xml com.orctom.jenkins.plugin.globalpostscript.GlobalPostScript.xml com.tikal.jenkins.plugins.multijob.PhaseJobsConfig.xml config_project_creation.xml config.xml config.xml.old Connection Activity monitoring to slaves.log credentials.xml Download metadata.log envinject-plugin-configuration.xml envInject.xml Fingerprint cleanup.log hudson.maven.MavenModuleSet.xml hudson.model.UpdateCenter.xml hudson.plugins.copyartifact.TriggeredBuildSelector.xml hudson.plugins.git.GitSCM.xml hudson.plugins.git.GitTool.xml hudson.plugins.groovy.Groovy.xml hudson.plugins.logfilesizechecker.LogfilesizecheckerWrapper.xml 
+0

差不多。它位於Execute Shell中,我想設置參數,然後在電子郵件通知中使用該參數。 – user2569618

+0

哦!現在我明白了。再次stackoverflow保存我。 – user2569618

+0

不客氣:) –

相關問題