autoproj-jenkins 0.3.6 → 0.3.7

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: a0b068687531e0f0b3783cbe4b2fd95a62ec28c0
4
- data.tar.gz: 4a1d865d39359263e886c881e470cdcd53c41af4
3
+ metadata.gz: a79fa49f8d46242936996f1c0fe7650a60e11ab4
4
+ data.tar.gz: 02033a5d2c85b32336cc9ab0aa9988147622b1a9
5
5
  SHA512:
6
- metadata.gz: 94bebe22fed809b955a8b387908ee823455e25a2e80c3ac9a53a02998de9553eada1cfd83b8e661b25d7a3378b046af8f83c613d2232a6aa0ea9ba744190aae2
7
- data.tar.gz: 2cb32c59bb218aaa6c741bc896f548290c505c6c217772b5c4ea152daf5a69cd87cbc2a59b6d0c90cc04f3fcfa55ea939cb98452fe7e4875572ca701eb1d26f0
6
+ metadata.gz: ed9114e1004fca7fc12295ebf65375bc510cdfdc2db2c354a58ff943a32aad516883bab10e5eba9a4faaa19c5431c192ed6356719ad02fc14a156b1d89d8aa7d
7
+ data.tar.gz: ce7cd0242e7687349399fb8c93a4f723c739bda3d2a840f2391aba262a037aa5b83d5f336233cd79ef7341d309667ba41796af298becdcdcefc7e68de551b8d4
@@ -125,15 +125,7 @@ def waitForUpstreamBuilds(upstreamBuilds)
125
125
  return true;
126
126
  }
127
127
 
128
- if (skipBuild)
129
- {
130
- currentBuild.result = 'NOT_BUILT';
131
- return false;
132
- }
133
- else
134
- {
135
- return true;
136
- }
128
+ return !skipBuild
137
129
  }
138
130
 
139
131
  def makeUpstreamArtifactImporters(autoproj, fullWorkspaceDir, upstreamDir,
@@ -18,13 +18,14 @@ stage('waiting for upstream jobs to finish') {
18
18
  triggerBuild = [null, null];
19
19
  }
20
20
 
21
- def upstreamBuilds = getUpstreamBuilds(upstreamJobNames, triggerBuild[0], triggerBuild[1])
21
+ upstreamBuilds = getUpstreamBuilds(upstreamJobNames, triggerBuild[0], triggerBuild[1])
22
22
  if (!upstreamBuilds)
23
23
  {
24
24
  currentBuild.result = 'NOT_BUILT';
25
25
  return;
26
26
  }
27
27
  if (!waitForUpstreamBuilds(upstreamBuilds)) {
28
+ currentBuild.result = 'NOT_BUILT';
28
29
  return
29
30
  }
30
31
  }
@@ -1,5 +1,5 @@
1
1
  module Autoproj
2
2
  module Jenkins
3
- VERSION = "0.3.6"
3
+ VERSION = "0.3.7"
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.6
4
+ version: 0.3.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sylvain Joyeux