Class: Jenkins::Plugin::Proxies::EnvironmentWrapper
- Inherits:
-
Java.hudson.tasks.BuildWrapper::Environment
- Object
- Java.hudson.tasks.BuildWrapper::Environment
- Jenkins::Plugin::Proxies::EnvironmentWrapper
- Defined in:
- lib/jenkins/plugin/proxies/build_wrapper.rb
Instance Attribute Summary collapse
-
#env ⇒ Object
Returns the value of attribute env.
Instance Method Summary collapse
-
#build_wrapper ⇒ Object
build wrapper that created this environment.
-
#initialize(build_wrapper, plugin, impl) ⇒ EnvironmentWrapper
constructor
A new instance of EnvironmentWrapper.
- #tearDown(build, listener) ⇒ Object
Constructor Details
#initialize(build_wrapper, plugin, impl) ⇒ EnvironmentWrapper
Returns a new instance of EnvironmentWrapper.
38 39 40 41 42 |
# File 'lib/jenkins/plugin/proxies/build_wrapper.rb', line 38 def initialize(build_wrapper, plugin, impl) super(build_wrapper) @plugin = plugin @impl = impl end |
Instance Attribute Details
#env ⇒ Object
Returns the value of attribute env.
36 37 38 |
# File 'lib/jenkins/plugin/proxies/build_wrapper.rb', line 36 def env @env end |
Instance Method Details
#build_wrapper ⇒ Object
build wrapper that created this environment
45 46 47 |
# File 'lib/jenkins/plugin/proxies/build_wrapper.rb', line 45 def build_wrapper @impl end |