autoproj-jenkins 0.3.7 → 0.3.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a79fa49f8d46242936996f1c0fe7650a60e11ab4
4
- data.tar.gz: 02033a5d2c85b32336cc9ab0aa9988147622b1a9
3
+ metadata.gz: a826cadbfc992eccc000270afcc1fecd50c1830b
4
+ data.tar.gz: ee4da54f79e11947705c523708751a54af2cbe3f
5
5
  SHA512:
6
- metadata.gz: ed9114e1004fca7fc12295ebf65375bc510cdfdc2db2c354a58ff943a32aad516883bab10e5eba9a4faaa19c5431c192ed6356719ad02fc14a156b1d89d8aa7d
7
- data.tar.gz: ce7cd0242e7687349399fb8c93a4f723c739bda3d2a840f2391aba262a037aa5b83d5f336233cd79ef7341d309667ba41796af298becdcdcefc7e68de551b8d4
6
+ metadata.gz: c3930b48986b612053a3c17563f07bd14530b07e7e40675dd96989bafc18dbd4401f4738e1d4e8ab99b13ee7aab52401178df6738c7d5f1d9880542bcaf07901
7
+ data.tar.gz: 8ff38f153e335b7fb80677efaaf2d60a5f8e770e1b31cb9c7589da2fc2be2b5a3416335556ec1437990a4745acd06b565d10f85326cd174cf55b444c1a8533c4
@@ -88,7 +88,7 @@ def getUpstreamBuilds(upstreamJobNames, triggerJob, triggerBuild)
88
88
  else
89
89
  {
90
90
  echo "${jobName} has no successful build, aborting"
91
- return;
91
+ return null
92
92
  }
93
93
  }
94
94
  echo "upstream build: ${jobName}#${matchingBuild}"
@@ -19,7 +19,7 @@ stage('waiting for upstream jobs to finish') {
19
19
  }
20
20
 
21
21
  upstreamBuilds = getUpstreamBuilds(upstreamJobNames, triggerBuild[0], triggerBuild[1])
22
- if (!upstreamBuilds)
22
+ if (upstreamBuilds == null)
23
23
  {
24
24
  currentBuild.result = 'NOT_BUILT';
25
25
  return;
@@ -1,5 +1,5 @@
1
1
  module Autoproj
2
2
  module Jenkins
3
- VERSION = "0.3.7"
3
+ VERSION = "0.3.8"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: autoproj-jenkins
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.7
4
+ version: 0.3.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sylvain Joyeux