Enable graceful slave shutdown option in WebUI for authorized user
authorTed Hess <thess@kitschensync.net>
Thu, 30 Jun 2016 20:06:38 +0000 (16:06 -0400)
committerTed Hess <thess@kitschensync.net>
Thu, 30 Jun 2016 20:06:38 +0000 (16:06 -0400)
Signed-off-by: Ted Hess <thess@kitschensync.net>
phase1/master.cfg
phase2/master.cfg

index 744ae559064e06446cff48f9b19ddd12bc172078..5e51466b46a44808ed5f33169488bf35c9131573 100644 (file)
@@ -498,7 +498,7 @@ if ini.has_option("status", "bind"):
                        # change any of these to True to enable; see the manual for more
                        # options
                        auth=auth.BasicAuth([(ini.get("status", "user"), ini.get("status", "password"))]),
-                       gracefulShutdown = False,
+                       gracefulShutdown = 'auth',
                        forceBuild = 'auth', # use this to test your slave once it is set up
                        forceAllBuilds = 'auth',
                        pingBuilder = False,
index 2bb2dd80ea70c2ce81c196b72c65932b6ee0afe5..4154c1d08b61d35acc9076fa99eb2d8c73e15a0c 100644 (file)
@@ -300,7 +300,7 @@ if ini.has_option("status", "bind"):
                        # change any of these to True to enable; see the manual for more
                        # options
                        auth=auth.BasicAuth([(ini.get("status", "user"), ini.get("status", "password"))]),
-                       gracefulShutdown = False,
+                       gracefulShutdown = 'auth',
                        forceBuild = 'auth', # use this to test your slave once it is set up
                        forceAllBuilds = 'auth',
                        pingBuilder = False,