From c33a57fc305fe30691ebbd0f378da95570ee35ee Mon Sep 17 00:00:00 2001 From: Erik Mackdanz Date: Thu, 10 Jul 2025 16:02:00 +0000 Subject: [PATCH] Fix comment doc for how to trigger a build with curl --- master.cfg | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/master.cfg b/master.cfg index 3a47aae..52a7f0f 100644 --- a/master.cfg +++ b/master.cfg @@ -3,17 +3,13 @@ # To trigger a build with curl :( # https://docs.buildbot.net/current/developer/rest.html#authentication -# ... except /auth/login doesn't work with RemoteUser authentication -# curl -v -u USER:PASSWORD --basic --cookie-jar cookies.txt https://bb.humopery.space/api/v2/builders -# ... to create a temp cookie jar - -# then edit cookies.txt, replacing TWISTED_SESSION with a value from the browser cookie. -# then a build can be triggered: +# curl -v -u USER:PASSWORD --basic --cookie-jar cookies.txt https://bb.humopery.space/ # curl -v -u USER:PASSWORD --basic --cookie cookies.txt --json '{"id":1,"jsonrpc":"2.0","method":"force","params":{"builderid":"6","username":"erik ","reason":"force build","priority":0,"branch":"","project":"","repository":"","revision":""}}' https://bb.humopery.space/api/v2/forceschedulers/force-two + from buildbot.plugins import changes, reporters, schedulers, secrets, steps, util, worker from buildbot.changes.filter import ChangeFilter from buildbot.changes.gitpoller import GitPoller -- 2.52.0