autoproj-jenkins 0.3.8 → 0.3.9

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: a826cadbfc992eccc000270afcc1fecd50c1830b
4
- data.tar.gz: ee4da54f79e11947705c523708751a54af2cbe3f
3
+ metadata.gz: 969cc56758574ee4b7ddd8bdd562eeae8ebf75e5
4
+ data.tar.gz: 416f2fbec3a7eb9af37e9f984e40622866768a2d
5
5
  SHA512:
6
- metadata.gz: c3930b48986b612053a3c17563f07bd14530b07e7e40675dd96989bafc18dbd4401f4738e1d4e8ab99b13ee7aab52401178df6738c7d5f1d9880542bcaf07901
7
- data.tar.gz: 8ff38f153e335b7fb80677efaaf2d60a5f8e770e1b31cb9c7589da2fc2be2b5a3416335556ec1437990a4745acd06b565d10f85326cd174cf55b444c1a8533c4
6
+ metadata.gz: 64fe5ee3d0356da58a95e2a4939c6a899c0259285c467a939762355cfa1f9fd8cbade179d5dd5e5373ffbbe98ff69a0f3b1f52b706136bb25e4ac37b1e99a31f
7
+ data.tar.gz: 4ee18ef2acae430c90c49910f356a19b7a6c9f4cc228596737b3b5c8621d09035634a9558df837de75f0680379667f869c5d0920e33ffff6ddd39ce366d44fcc
@@ -100,8 +100,7 @@ def getUpstreamBuilds(upstreamJobNames, triggerJob, triggerBuild)
100
100
 
101
101
  def waitForUpstreamBuilds(upstreamBuilds)
102
102
  {
103
- def skipBuild = false;
104
- waitUntil
103
+ while(true)
105
104
  {
106
105
  // Iterate list -- NOTE: we cannot use groovy style or even modern java style iteration
107
106
  for (upstreamBuildIndex = 0; upstreamBuildIndex < upstreamBuilds.size(); ++upstreamBuildIndex)
@@ -113,19 +112,17 @@ def waitForUpstreamBuilds(upstreamBuilds)
113
112
  if (status == 'IN_PROGRESS')
114
113
  {
115
114
  echo "waiting for job ${upstreamJobName}#${upstreamBuildId} to finish"
116
- return false;
115
+ sleep 10
117
116
  }
118
117
  else if (status == 'FAILED')
119
118
  {
120
119
  echo "${upstreamJobName}#${upstreamBuildId} did not finish successfully, aborting this build"
121
- skipBuild = true;
122
- return true;
120
+ return false
123
121
  }
124
122
  }
125
- return true;
126
123
  }
127
124
 
128
- return !skipBuild
125
+ return true
129
126
  }
130
127
 
131
128
  def makeUpstreamArtifactImporters(autoproj, fullWorkspaceDir, upstreamDir,
@@ -1,5 +1,5 @@
1
1
  module Autoproj
2
2
  module Jenkins
3
- VERSION = "0.3.8"
3
+ VERSION = "0.3.9"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: autoproj-jenkins
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.8
4
+ version: 0.3.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sylvain Joyeux
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-11-18 00:00:00.000000000 Z
11
+ date: 2016-11-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jenkins_api_client