hudson.model.Environment.create()方法的使用及代码示例

x33g5p2x  于2022-01-19 转载在 其他  
字(1.9k)|赞(0)|评价(0)|浏览(113)

本文整理了Java中hudson.model.Environment.create()方法的一些代码示例,展示了Environment.create()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Environment.create()方法的具体详情如下:
包路径:hudson.model.Environment
类名称:Environment
方法名:create

Environment.create介绍

[英]Creates Environment implementation that just sets the variables as given in the parameter.
[中]创建只设置参数中给定变量的环境实现。

代码示例

代码示例来源:origin: jenkinsci/jenkins

  1. @Override
  2. public Environment setUp(AbstractBuild build, Launcher launcher,
  3. BuildListener listener) throws IOException, InterruptedException {
  4. return Environment.create(envVars);
  5. }

代码示例来源:origin: org.jenkins-ci.main/jenkins-core

  1. @Override
  2. public Environment setUp(AbstractBuild build, Launcher launcher,
  3. BuildListener listener) throws IOException, InterruptedException {
  4. return Environment.create(envVars);
  5. }

代码示例来源:origin: hudson/hudson-2.x

  1. @Override
  2. public Environment setUp(AbstractBuild build, Launcher launcher,
  3. BuildListener listener) throws IOException, InterruptedException {
  4. return Environment.create(envVars);
  5. }

代码示例来源:origin: org.eclipse.hudson.main/hudson-core

  1. @Override
  2. public Environment setUp(AbstractBuild build, Launcher launcher,
  3. BuildListener listener) throws IOException, InterruptedException {
  4. return Environment.create(envVars);
  5. }

代码示例来源:origin: org.jvnet.hudson.main/hudson-core

  1. @Override
  2. public Environment setUp(AbstractBuild build, Launcher launcher,
  3. BuildListener listener) throws IOException, InterruptedException {
  4. return Environment.create(envVars);
  5. }

代码示例来源:origin: org.eclipse.hudson/hudson-core

  1. @Override
  2. public Environment setUp(AbstractBuild build, Launcher launcher,
  3. BuildListener listener) throws IOException, InterruptedException {
  4. return Environment.create(envVars);
  5. }

代码示例来源:origin: jenkinsci/debian-package-builder-plugin

  1. build.getEnvironments().add(Environment.create(envVars));
  2. } catch (InterruptedException e) {
  3. logger.println(MessageFormat.format(ABORT_MESSAGE, PREFIX, e.getMessage()));

代码示例来源:origin: jenkinsci/nodejs-plugin

  1. build.getEnvironments().add(Environment.create(newEnv));

相关文章