You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just like everything else so far, the first step is to go to “New Item”. Next,
193
193
name the agent, and select “Shared Slave” as the item type. Alright, now that
194
194
we’re on the configuration page, a lot of these settings are environment
195
-
specific. We tend to use one executor per core, but it’s really up to you.
195
+
specific. We tend to use one executor per core, but it’s really up to you.
196
196
197
-
For the FS root, make you’ve already created the directory on your slave server.
197
+
For the FS root, make you’ve already created the directory on your slave server.
198
198
If you use our slave.yaml cloud configuration, be sure to specify /Jenkins as
199
-
that’s the directory we typically use.
199
+
that’s the directory we typically use.
200
200
201
201
After you’ve added a host and credentials, click “Save”. Great job!!! We now
202
202
have a slave that any of our masters can use. We do have a bit more to cover,
203
-
but if you’d like to take a break to try it out go ahead!
203
+
but if you’d like to take a break to try it out go ahead!
204
204
205
205
Cluster Operations
206
206
------------------
@@ -211,10 +211,10 @@ A “Cluster Operation” is a new item type that lets you perform maintenance o
211
211
variety of items, including client masters and update centers. They’re not
212
212
nearly as complicated as they sound, but they are pretty powerful! Let’s try
213
213
setting one up for restarting all of our masters. Click “New Item”, name it
214
-
“Restart All Masters” and select “Cluster Operations” as the item type.
214
+
“Restart All Masters” and select “Cluster Operations” as the item type.
215
215
216
216
Alright, there are three important parts of an “Operation”. The first is the
217
-
type of operation, which can be either “Client Master” or “Update Center”.
217
+
type of operation, which can be either “Client Master” or “Update Center”.
218
218
Because the operation we’re setting up affects masters, select “Client Master”.
219
219
220
220
Secondly, we need to choose how to target the masters. We’ll select “From
@@ -223,40 +223,40 @@ specify a filter if you’d like to get a bit more granular than the list of
223
223
target sources.
224
224
225
225
Third, we need to specify what steps the operation should actually take. For
226
-
this operation, select “Restart Now”, then save the operation.
226
+
this operation, select “Restart Now”, then save the operation.
227
227
228
228
Great job!! You’ve successfully set up a cluster operation. If you’d like,
229
-
you can run it now and both of our masters will be restarted immediately.
229
+
you can run it now and both of our masters will be restarted immediately.
230
230
231
-
Pretty cool huh?
231
+
Pretty cool huh?
232
232
233
233
Update Centers
234
234
--------------
235
235
Well, we’re finally almost finished, we have one final topic to cover, Update
236
236
Centers! An Update center is created the same way everything else was created,
237
237
just go to New Item, name the Update center, and select “Update Center” as the
238
238
job type. You’ll then need to select a plugin versioning strategy, signature
239
-
provider, upstream source, and any maintenance tasks that you’d like.
239
+
provider, upstream source, and any maintenance tasks that you’d like.
240
240
241
-
The plugin versioning strategy can be set to explicit or implicit publishing.
241
+
The plugin versioning strategy can be set to explicit or implicit publishing.
242
242
Explicit means that the update center won’t publish any versions of a plugin
243
243
until the administrator specifically chooses a version, while implicit defaults
244
-
to publishing the latest version of each plugin.
244
+
to publishing the latest version of each plugin.
245
245
246
246
You can usually just leave the signature provider as is. For the upstream
247
247
source we recommend selecting “Jenkins Enterprise by Cloudbees”, unless there’s
248
-
a specific reason to include experimental plugins. Go ahead and hit save.
248
+
a specific reason to include experimental plugins. Go ahead and hit save.
249
249
250
250
That’s it for the update center, but do note, you will have to configure the
251
251
masters to point to the update center. Once that’s complete you’ll never have
252
-
to worry about someone installing a plugin that hasn’t already been approved.
252
+
to worry about someone installing a plugin that hasn’t already been approved.
253
253
You can do it manually, or by using the update center installer plugin.
254
254
255
255
Conclusion
256
256
----------
257
257
Well, that was a pretty long lesson! We covered a ton of material, great job
258
258
following along! We set up a Jenkins Operations Center, two masters, a shared
259
-
slave, a cluster operation, and an update center, all in a single lesson!
259
+
slave, a cluster operation, and an update center, all in a single lesson!
260
260
261
261
Thank you so much for watching!
262
262
@@ -282,6 +282,6 @@ for the DevOps community.
282
282
283
283
Thanks for Watching!
284
284
--------------------
285
-
[Subscribe to our YouTube channel](https://www.youtube.com/channel/UCOnioSzUZS-ZqsRnf38V2nA?sub_confirmation=1) or follow [DevOpsLibrary on Twitter](https://twitter.com/intent/user?screen_name=devopslibrary).
285
+
[Subscribe to our YouTube channel](https://www.youtube.com/channel/UCOnioSzUZS-ZqsRnf38V2nA?sub_confirmation=1) or follow [DevOpsLibrary on Twitter](https://twitter.com/intent/user?screen_name=devopslibrary).
0 commit comments