Module: Jenkins::Model::Environment

Included in:
Slaves::NodeProperty, Tasks::BuildWrapper
Defined in:
lib/jenkins/model/environment.rb

Instance Method Summary collapse

Instance Method Details

#setup(build, launcher, listener) ⇒ Object

Perform setup for a build

invoked after checkout, but before any ‘Builder`s have been run

Parameters:



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.

Parameters:



20
21
22
# File 'lib/jenkins/model/environment.rb', line 20

def teardown(build, listener)

end