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: 969cc56758574ee4b7ddd8bdd562eeae8ebf75e5
4
- data.tar.gz: 416f2fbec3a7eb9af37e9f984e40622866768a2d
3
+ metadata.gz: 13427e987c3febc7e624223036980f880e26ff88
4
+ data.tar.gz: bf1a748ad8934c0c9241c9bcdf090e6e727e8164
5
5
  SHA512:
6
- metadata.gz: 64fe5ee3d0356da58a95e2a4939c6a899c0259285c467a939762355cfa1f9fd8cbade179d5dd5e5373ffbbe98ff69a0f3b1f52b706136bb25e4ac37b1e99a31f
7
- data.tar.gz: 4ee18ef2acae430c90c49910f356a19b7a6c9f4cc228596737b3b5c8621d09035634a9558df837de75f0680379667f869c5d0920e33ffff6ddd39ce366d44fcc
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,
@@ -1,5 +1,5 @@
1
1
  module Autoproj
2
2
  module Jenkins
3
- VERSION = "0.3.9"
3
+ VERSION = "0.3.10"
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.9
4
+ version: 0.3.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sylvain Joyeux