Code Monkey home page Code Monkey logo

github-tools's Introduction

#GitHub-Tools GitHub pull status commit status notification command line and/or Team City driven application.

##Reference

##Directions

##Command Line Argument Options

###Mandatory

  • -ro=RepositoryOwner - Owner is either a user or organization.
  • -rn=RepostioryName - Repository name.
  • -sha=2e84e6446df300cd572930869c5ed2be8ee1f614 - Latest commit sha reference in pull.
  • -sha=%build.vcs.number% - Using the Team City variable parameter.
  • -github=github - Maven ~/.m2/settings.xml GitHub server id.
  • -teamcity=teamcity-gonevertical - Maven ~/.m2/settings.xml Team City server id.
  • -returnurl=http://teamcity.gonevertical.org - Return url link for the the status link.
  • -returnurl=%teamcity.serverUrl% - Using the Team City variable parameter.

###Mandatory OR Use either -buildid OR -status:

  • -buildid=299 - Team City Build Id. This calls the rest api to check the status of the build.
  • -buildid=%teamcity.build.id% - Using the Team City variable parameter.
  • -status=pending
  • -status=error
  • -status=failed
  • -status=success

###Optional

  • -help - display the argument options.
  • -skipcomment=true - Adding a commit message is on by default. Turn it off and on with this.

###Maven Settings Two servers have to be added to use this applicaiton. Change the server id to your desire as long as it is matched in the command line options.

  • -github=github example:

    <server>
        <id>github</id>
        <username>branflake2267</username>
        <password>xxxxxxx</password>
    </server>
  • -teamcity=teamcity-gonevertical example:

    <server>
        <id>teamcity-gonevertical</id>
        <username>branflake2267</username>
        <password>xxxxxxx</password>
        <configuration>
            <url>http://teamcity.gonevertical.org</url>
        </configuration>
    </server>

##Thanks to Arcbees.com

Atlassian

IntelliJ

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.