jenkinsutil 1.0.67 → 1.0.68
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Dockerfile +2 -1
- data/jenkins/test.groovy +5 -0
- data/lib/jenkins_util/dropbox_util.rb +2 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f44f4be705163de3732c3ff6f2a1a6f9c4a314b0
|
4
|
+
data.tar.gz: b394900c5983acc829a83bedd42963635e1d3052
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f674b7ee533fb2a8d997cf63c63e572a6cf8a49fa4f7e3fb7b95bb02c689496729681e07c71c29d346a4f6a13525fecad68f00cc33fbc836509869f02881e8af
|
7
|
+
data.tar.gz: e6276ca996a864e68efd3a9bc5efa31a346dbacb40c0e4f39f44d7d71c83c65c117b7c9de83645b1fd0a14de9d311c4295c16bacd59ebd4eb8609ff4e58009bf
|
data/Dockerfile
CHANGED
data/jenkins/test.groovy
CHANGED
@@ -25,10 +25,13 @@ stage('linux test') {
|
|
25
25
|
//step([$class: 'RcovPublisher', reportDir: 'artifacts/coverage/rcov/'])
|
26
26
|
}
|
27
27
|
}
|
28
|
+
|
28
29
|
stage('osx test') {
|
29
30
|
node('ruby-osx') {
|
30
31
|
checkout scm
|
31
32
|
|
33
|
+
sh "bundle config specific_platform true"
|
34
|
+
|
32
35
|
sh "bundle install --path='./gems/'"
|
33
36
|
|
34
37
|
sh """DROPBOX_ACCESS_TOKEN=${env.DROPBOX_ACCESS_TOKEN} \
|
@@ -42,10 +45,12 @@ stage('osx test') {
|
|
42
45
|
step([$class: 'JUnitResultArchiver', testResults: 'test/reports/**/*.xml'])
|
43
46
|
}
|
44
47
|
}
|
48
|
+
|
45
49
|
stage('windows test') {
|
46
50
|
node('ruby-windows') {
|
47
51
|
checkout scm
|
48
52
|
|
53
|
+
bat 'call bundle config specific_platform true'
|
49
54
|
bat 'call bundle install --path=./gems'
|
50
55
|
bat 'set DROPBOX_ACCESS_TOKEN=${env.DROPBOX_ACCESS_TOKEN}'
|
51
56
|
bat 'call bundle exec rake SSL_CERT_FILE=%cd%\\certs\\cacert.pem ci:setup:testunit test:default build'
|
@@ -16,9 +16,10 @@ module DropboxUtil
|
|
16
16
|
|
17
17
|
@dropbox_client ||= DropboxApi::Client.new(ENV['DROPBOX_ACCESS_TOKEN'])
|
18
18
|
@sources = sources
|
19
|
-
@destination = destination
|
20
19
|
@flatten = flatten
|
21
20
|
@root_path = root || Dir.pwd
|
21
|
+
@destination = destination
|
22
|
+
@destination = "/#{@destination}" unless destination.to_s.start_with?('/')
|
22
23
|
|
23
24
|
upload_files
|
24
25
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jenkinsutil
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.68
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brett McGinnis
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-09-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: open4
|