Class: Ansible::Ruby::Modules::Jenkins_script
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Jenkins_script
- Defined in:
- lib/ansible/ruby/modules/generated/web_infrastructure/jenkins_script.rb
Overview
The C(jenkins_script) module takes a script plus a dict of values to use within the script and returns the result of the script being run.
Instance Method Summary collapse
-
#args ⇒ Hash?
A dict of key-value pairs used in formatting the script using string.Template (see docs.python.org/2/library/string.html#template-strings).
-
#password ⇒ String?
The password to connect to the jenkins server with.
-
#script ⇒ String
The groovy script to be executed.
-
#timeout ⇒ Integer?
The request timeout in seconds.
-
#url ⇒ String?
The jenkins server to execute the script against.
-
#user ⇒ String?
The username to connect to the jenkins server with.
-
#validate_certs ⇒ :yes, ...
If set to C(no), the SSL certificates will not be validated.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#args ⇒ Hash?
Returns A dict of key-value pairs used in formatting the script using string.Template (see docs.python.org/2/library/string.html#template-strings).
36 |
# File 'lib/ansible/ruby/modules/generated/web_infrastructure/jenkins_script.rb', line 36 attribute :args |
#password ⇒ String?
Returns The password to connect to the jenkins server with.
28 |
# File 'lib/ansible/ruby/modules/generated/web_infrastructure/jenkins_script.rb', line 28 attribute :password |
#script ⇒ String
Returns The groovy script to be executed. This gets passed as a string Template if args is defined.
12 |
# File 'lib/ansible/ruby/modules/generated/web_infrastructure/jenkins_script.rb', line 12 attribute :script |
#timeout ⇒ Integer?
Returns The request timeout in seconds.
32 |
# File 'lib/ansible/ruby/modules/generated/web_infrastructure/jenkins_script.rb', line 32 attribute :timeout |
#url ⇒ String?
Returns The jenkins server to execute the script against. The default is a local jenkins instance that is not being proxied through a webserver.
16 |
# File 'lib/ansible/ruby/modules/generated/web_infrastructure/jenkins_script.rb', line 16 attribute :url |
#user ⇒ String?
Returns The username to connect to the jenkins server with.
24 |
# File 'lib/ansible/ruby/modules/generated/web_infrastructure/jenkins_script.rb', line 24 attribute :user |
#validate_certs ⇒ :yes, ...
Returns If set to C(no), the SSL certificates will not be validated. This should only set to C(no) used on personally controlled sites using self-signed certificates as it avoids verifying the source site.
20 |
# File 'lib/ansible/ruby/modules/generated/web_infrastructure/jenkins_script.rb', line 20 attribute :validate_certs |