autoproj-jenkins 0.3.10 → 0.3.11
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: 0132b94c0223a1db8bcaab4146282050916ddae3
|
4
|
+
data.tar.gz: cd04e661a532ac47e2fc59f1e9b64bd40dde2fe8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c1581f62df24d74ef13051068edc893ee9e234e15ce2f2323028e338399082781c4fe732e505973dd6bcabd1666d155d3a50286c4c1ef6488a2f48ec6d240b18
|
7
|
+
data.tar.gz: af067ebd48a27f8dd322f40a020cfb619517e37d2964d77f7d3092ba07e06301b1f169af24c594400e9fe629958fcd47d28ac0d808080fc2c7c7aecb1f524f7b
|
@@ -106,16 +106,20 @@ def getUpstreamBuilds(upstreamJobNames, triggerJob, triggerBuild)
|
|
106
106
|
|
107
107
|
def waitForUpstreamBuilds(upstreamBuilds)
|
108
108
|
{
|
109
|
-
|
109
|
+
// Iterate list -- NOTE: we cannot use groovy style or even modern java style iteration
|
110
|
+
for (upstreamBuildIndex = 0; upstreamBuildIndex < upstreamBuilds.size(); ++upstreamBuildIndex)
|
110
111
|
{
|
111
|
-
|
112
|
-
|
112
|
+
def entry = upstreamBuilds[upstreamBuildIndex]
|
113
|
+
def upstreamJobName = entry[0]
|
114
|
+
def upstreamBuildId = entry[1]
|
115
|
+
while (true)
|
113
116
|
{
|
114
|
-
def entry = upstreamBuilds[upstreamBuildIndex]
|
115
|
-
def upstreamJobName = entry[0]
|
116
|
-
def upstreamBuildId = entry[1]
|
117
117
|
def status = isUpstreamOK(upstreamJobName, upstreamBuildId)
|
118
|
-
if (status == '
|
118
|
+
if (status == 'OK')
|
119
|
+
{
|
120
|
+
break
|
121
|
+
}
|
122
|
+
else if (status == 'IN_PROGRESS')
|
119
123
|
{
|
120
124
|
echo "waiting for job ${upstreamJobName}#${upstreamBuildId} to finish"
|
121
125
|
sleep 10
|
@@ -126,8 +130,8 @@ def waitForUpstreamBuilds(upstreamBuilds)
|
|
126
130
|
return false
|
127
131
|
}
|
128
132
|
}
|
129
|
-
return true
|
130
133
|
}
|
134
|
+
return true
|
131
135
|
}
|
132
136
|
|
133
137
|
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.11
|
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-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jenkins_api_client
|