Error publishing plugin

13 views
Skip to first unread message

Alberto Bec

unread,
Jan 21, 2022, 10:43:59 AMJan 21
to Jenkins Developers
I'm trying to publish our plugin using the manual method but getting the error "remote: error: GH006: Protected branch update failed for refs/heads/master."

Do I need to do this in a branch then merge that into master? Or am I missing a permission?

Alberto Bec

unread,
Jan 21, 2022, 10:45:50 AMJan 21
to Jenkins Developers
Forgot to include screenshot
Screenshot 2022-01-21 104517.png

Gavin Mogan

unread,
Jan 21, 2022, 12:54:56 PMJan 21
to Jenkins Developers
So that's usually branch protection settings in GitHub. I've personally never found a way to support mvn release and have branch protection enabled.

You could disable the no pushes while you do the release.

I bet there's also a way to tell mvn to use a branch 

--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/bae55f98-1324-44f5-9d94-a3bbe034220cn%40googlegroups.com.

Alberto Bec

unread,
Jan 21, 2022, 4:42:16 PMJan 21
to Jenkins Developers
Thanks, the "Include administrators" option was set on the rule. Didn't know that was a thing
Reply all
Reply to author
Forward
0 new messages