Skip to content

Latest commit

 

History

History
45 lines (33 loc) · 2.78 KB

README.md

File metadata and controls

45 lines (33 loc) · 2.78 KB

Gogs Branch Source

Pipeline as Code for Gogs: Go Git Service!

A Jenkins Plugin that provides SCMSource (i.e. Pipeline Multibranch) and SCMNavigator for Gogs - Go Git Service.

Features

  • Supports Pipeline Multibranch
  • Auto creation of repository webhooks for push and create events
  • Supports SCMNavigator (Gogs Organization Scanning) functionality (i.e. org scanning per GitHub Organization Folder)
  • Supports commit status update via repo issue creation on build FAILURE and UNSTABLE - Gogs currently doesn't support commit statuses see gogs/gogs#813
  • Partial support for Gogs Organization avatar - Gogs does not support dynamically sized avatar images

Missing Features

Use with CJP Trial

There is a prepopulated Gogs server Docker image availalbe on Docker Hub. If you start this container and connect it to the same Docker network that is created when running the Dockerized CJP trial you will be able to experience Jenkins Pipeline as Code in the lovely confines of your personal computer ;) Here is an example Docker command:

docker run -d --name=gogs --net="cjptrial_default" -p 10022:22 -p 10080:3000 beedemo/gogs:develop

Login to Gogs (http://192.168.99.100:10080) with username: beedemo-user password: admin

Set up a Gogs Organization Folder

Note: your network name may vary, especially on windows (docker network ls), also your Gogs URL/IP may vary based on your Docker Machine (check docker-machine ip {machine-name})

Tested Against

  • Gogs: Go Git Service 0.9.60.0803
  • Git Version: 2.6.6