IBM/cf-icd-plugin

Name: cf-icd-plugin

Owner: International Business Machines

Description: cf-icd-plugin

Created: 2017-03-10 23:45:11.0

Updated: 2017-03-13 13:45:17.0

Pushed: 2017-03-28 19:34:00.0

Homepage: null

Size: 59307

Language: Go

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

cf_icd_plugin

Sample CF plugin for POST of cloud foundry commands to registered webhook broker

Install golang https://golang.org

export GOPATH=/this/project/path/vendor:/this/project/path

go build -o bin/$(uname)_$(uname -m)/icd icd

Usage:

cd --create-connection <webhook> <cf app name>

Where is the URL supplied shown in your toolchain configuration page for Jenkins broker and is the Cloudfoundry application name which deployed successfully

cd --delete-connection <webhook> <cf app name>

Where is the URL supplied shown in your toolchain configuration page for Jenkins broker and is the Cloudfoundry application name which deployed removed.

Build Instructions

The plugin can be built locally as a docker container, or by pushing to your forked branch and building with travis-ci.

To Build Locally
clone https://github.com/IBM/cf-icd-plugin /your/icd/dir
your/icd/dir
ild

: ./build_bin contains your built binaries
To Build with travis-ci
clone https://github.com/IBM/cf-icd-plugin /your/icd/dir
your/icd/dir
remote add <your remote name> <your forked remote repo>
tag -a <your release version id> -m 'my custom release version'
push <your remote name> <your release version id>

:  Be sure to enable the remote repo in travis-ci.org after you link your github account with travis-ci.org account

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.