File tree Expand file tree Collapse file tree 1 file changed +39
-13
lines changed Expand file tree Collapse file tree 1 file changed +39
-13
lines changed Original file line number Diff line number Diff line change @@ -189,25 +189,51 @@ esac
189
189
# and build according to the role specified by it.
190
190
191
191
case " $EXPLICIT_ROLE " in
192
- agent) ROLE=agent;;
193
- hub) ROLE=hub;;
192
+ agent)
193
+ ROLE=agent
194
+ ;;
195
+ hub)
196
+ ROLE=hub
197
+ ;;
194
198
* )
195
199
# Not running under Jenkins?
196
200
if [ -z " $JENKINS_SERVER_COOKIE " ]
197
201
then
198
202
case " $PROJECT -$ARCH -$OS -${OS_VERSION} " in
199
- community-* ) ROLE=agent;;
203
+ community-* )
204
+ ROLE=agent
205
+ ;;
200
206
# We do not support 32 bits hubs anymore
201
- nova-i386-* -* ) ROLE=agent;;
202
- nova-s390* -* -* ) ROLE=agent;;
203
- nova-* -centos-* ) ROLE=hub;;
204
- nova-* -debian-* ) ROLE=hub;;
205
- nova-* -opensuse-* ) ROLE=hub;;
206
- nova-* -rhel-* ) ROLE=hub;;
207
- nova-* -sles-* ) ROLE=hub;;
208
- nova-* -ubuntu-* ) ROLE=hub;;
209
- nova-* -mingw-* ) ROLE=agent;;
210
- nova-* ) ROLE=agent;;
207
+ nova-i386-* -* )
208
+ ROLE=agent
209
+ ;;
210
+ nova-s390* -* -* )
211
+ ROLE=agent
212
+ ;;
213
+ nova-* -centos-* )
214
+ ROLE=hub
215
+ ;;
216
+ nova-* -debian-* )
217
+ ROLE=hub
218
+ ;;
219
+ nova-* -opensuse-* )
220
+ ROLE=hub
221
+ ;;
222
+ nova-* -rhel-* )
223
+ ROLE=hub
224
+ ;;
225
+ nova-* -sles-* )
226
+ ROLE=hub
227
+ ;;
228
+ nova-* -ubuntu-* )
229
+ ROLE=hub
230
+ ;;
231
+ nova-* -mingw-* )
232
+ ROLE=agent
233
+ ;;
234
+ nova-* )
235
+ ROLE=agent
236
+ ;;
211
237
* )
212
238
echo " Unknown project: $PROJECT "
213
239
exit 42
You can’t perform that action at this time.
0 commit comments