Module: Jenkins::Model::Environment
- Included in:
- Slaves::NodeProperty, Tasks::BuildWrapper
- Defined in:
- lib/jenkins/model/environment.rb
Instance Method Summary collapse
-
#setup(build, launcher, listener) ⇒ Object
Perform setup for a build.
-
#teardown(build, listener) ⇒ Object
Optionally perform optional teardown for a build.
Instance Method Details
#setup(build, launcher, listener) ⇒ Object
Perform setup for a build
invoked after checkout, but before any ‘Builder`s have been run
9 10 11 |
# File 'lib/jenkins/model/environment.rb', line 9 def setup(build, launcher, listener) end |
#teardown(build, listener) ⇒ Object
Optionally perform optional teardown for a build
invoked after a build has run for better or for worse. It’s ok if subclasses don’t override this.
20 21 22 |
# File 'lib/jenkins/model/environment.rb', line 20 def teardown(build, listener) end |