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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 969cc56758574ee4b7ddd8bdd562eeae8ebf75e5
|
4
|
+
data.tar.gz: 416f2fbec3a7eb9af37e9f984e40622866768a2d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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
|
-
|
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
|
-
|
122
|
-
return true;
|
120
|
+
return false
|
123
121
|
}
|
124
122
|
}
|
125
|
-
return true;
|
126
123
|
}
|
127
124
|
|
128
|
-
return
|
125
|
+
return true
|
129
126
|
}
|
130
127
|
|
131
128
|
def makeUpstreamArtifactImporters(autoproj, fullWorkspaceDir, upstreamDir,
|
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.
|
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-
|
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
|