jenkins-builder 0.2.6 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/jenkins/builder/app.rb +2 -2
- data/lib/jenkins/builder/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e02900cebd1b3529e65898dda5aca6e2500f12a2cee552f7a219bc415d8f5721
|
4
|
+
data.tar.gz: de6ecb61d2bd8fab3c4dcd4efa783c9e0ab3386e2192b9244f580887571f4a8a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e2e9c966bcfa4b663cb22447a502bf91a93621407b189ec8edefc687aaf6edf10cfd170a00abb45a5c9d03f2ae7ee96d60b1a2a40b4b0a8a203ef7e8c4af4978
|
7
|
+
data.tar.gz: 8db0ddd35393efad96e3bb122f952d6a95dd4d470632d3f470512d4a778e7f202d7a63e2124cbb99474d41986ae97d0e22accd8ad79aad1641616a9bca28ed36
|
data/Gemfile.lock
CHANGED
data/lib/jenkins/builder/app.rb
CHANGED
@@ -165,7 +165,7 @@ module Jenkins
|
|
165
165
|
end
|
166
166
|
|
167
167
|
def start_build_use_ferrum(job_name, branch)
|
168
|
-
browser = Ferrum::Browser.new
|
168
|
+
browser = Ferrum::Browser.new(headless: true)
|
169
169
|
browser.goto("#{config.url}/login")
|
170
170
|
username_input = browser.at_css('input[name=j_username]')
|
171
171
|
password_input = browser.at_css('input[name=j_password]')
|
@@ -179,7 +179,7 @@ module Jenkins
|
|
179
179
|
browser.at_css('#yui-gen1-button').click
|
180
180
|
else
|
181
181
|
browser.goto("#{config.url}/job/#{job_name}/")
|
182
|
-
browser.
|
182
|
+
browser.at_css('#tasks a.task-link[onclick^=return\ build]').click
|
183
183
|
end
|
184
184
|
browser.quit
|
185
185
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jenkins-builder
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Liu Xiang
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-07-
|
11
|
+
date: 2020-07-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|