Giter VIP home page Giter VIP logo

gitlab-line-notify's Introduction

GitLab Line Notify

Spring Boot Project for Line Notify with GitLab Webhooks Trigger

GitLab Webhook Event Support

  • Push

  • Tag Push

  • Issue

  • Merge Request

Getting Started

Development setup

mvn spring-boot:run -Dskiptests

Test GitLab Trigger with Postman

POST to http://localhost:8080/push

Request header

X-Gitlab-Event : Push Hook

Content-Type : application/json

Line-Token : YOUR_LINE_TOKEN

Request body (raw:JSON)

{
"object_kind": "tag_push",
"before": "0000000000000000000000000000000000000000",
"after": "82b3d5ae55f7080f1e6022629cdb57bfae7cccc7",
"ref": "refs/tags/v1.0.0",
"checkout_sha": "82b3d5ae55f7080f1e6022629cdb57bfae7cccc7",
"user_id": 1,
"user_name": "John Smith",
"user_avatar": "https://s.gravatar.com/avatar/d4c74594d841139328695756648b6bd6?s=8://s.gravatar.com/avatar/d4c74594d841139328695756648b6bd6?s=80",
"project_id": 1,
"project":{
  "id": 1,
  "name":"Example",
  "description":"",
  "web_url":"http://example.com/jsmith/example",
  "avatar_url":null,
  "git_ssh_url":"[email protected]:jsmith/example.git",
  "git_http_url":"http://example.com/jsmith/example.git",
  "namespace":"Jsmith",
  "visibility_level":0,
  "path_with_namespace":"jsmith/example",
  "default_branch":"master",
  "homepage":"http://example.com/jsmith/example",
  "url":"[email protected]:jsmith/example.git",
  "ssh_url":"[email protected]:jsmith/example.git",
  "http_url":"http://example.com/jsmith/example.git"
},
"repository":{
  "name": "Example",
  "url": "ssh://[email protected]/jsmith/example.git",
  "description": "",
  "homepage": "http://example.com/jsmith/example",
  "git_http_url":"http://example.com/jsmith/example.git",
  "git_ssh_url":"[email protected]:jsmith/example.git",
  "visibility_level":0
},
"commits": [],
"total_commits_count": 0
}

gitlab-line-notify's People

Contributors

sarawukl avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.