autoproj-jenkins 0.3.9 → 0.3.10
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: 13427e987c3febc7e624223036980f880e26ff88
|
4
|
+
data.tar.gz: bf1a748ad8934c0c9241c9bcdf090e6e727e8164
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7c157abf2efb15131f8d7d0f42a04f9f76eb98c66ee52ee5119c9dbc3968c2fa472f38735e3b050b9189eeb9ef9ad53d96226e22a66e76bb93b64e65d0e1fa2d
|
7
|
+
data.tar.gz: 88270bb3df102fe38b1ce637782492d1221afd31f9608db2ef504f5456b1cecf28770ec0ff58a4224b131f8837470c86310d5f4b14b1e77a933e7313704b8cd3
|
@@ -74,6 +74,12 @@ def getUpstreamBuilds(upstreamJobNames, triggerJob, triggerBuild)
|
|
74
74
|
else
|
75
75
|
{
|
76
76
|
def job = Jenkins.instance.getItem(jobName)
|
77
|
+
if (!job)
|
78
|
+
{
|
79
|
+
echo "${jobName} does not exist yet, aborting"
|
80
|
+
return null
|
81
|
+
}
|
82
|
+
|
77
83
|
def matchingBuild = findBuildTriggeredBy(job, triggerJob, triggerBuild)
|
78
84
|
if (!matchingBuild)
|
79
85
|
{
|
@@ -120,9 +126,8 @@ def waitForUpstreamBuilds(upstreamBuilds)
|
|
120
126
|
return false
|
121
127
|
}
|
122
128
|
}
|
129
|
+
return true
|
123
130
|
}
|
124
|
-
|
125
|
-
return true
|
126
131
|
}
|
127
132
|
|
128
133
|
def makeUpstreamArtifactImporters(autoproj, fullWorkspaceDir, upstreamDir,
|