gogs-webhook-plugin icon indicating copy to clipboard operation
gogs-webhook-plugin copied to clipboard

Multibranch pipeline scan is launched if branch name is not found

Open jpshields opened this issue 6 years ago • 2 comments

  • Gogs version (or commit ref): 0.11.43.0330
  • Jenkins version: 2.107.2
  • Jenkins modules used in combination with gogs-webhook-plugin:

Can this be done? I'd like to have a first new branch/build at the first git push in my multibranch pipeline job. Right now, the behavior I'm seeing is that if the branch has not been build once by jenkins (by a scan which is configured by polling or manual triggering) nothing will happen.

jpshields avatar May 09 '18 15:05 jpshields

@jpshields For the current version I won't implement this. Currently i'm busy refactoring the plugin but can have a look for the new version if this is possible.

sanderv32 avatar May 09 '18 19:05 sanderv32

In additon to that also the deletion of a branch should trigger a scan. Gogs is able to send notifications for both (creation and deletion) but the plugin does not process them.

ghhenry avatar Mar 22 '20 16:03 ghhenry