2017-01-16 11:58:55 +08:00
2016-10-15 13:30:34 +08:00
2016-10-15 13:30:34 +08:00
2016-10-18 10:11:29 +08:00
2017-01-16 10:48:37 +08:00
2017-01-16 10:48:37 +08:00
2016-10-15 21:08:37 +08:00
2016-10-15 23:44:11 +08:00
2016-10-15 13:30:34 +08:00
2017-01-16 11:55:28 +08:00
2017-01-16 11:58:55 +08:00

drone-jenkins

GoDoc Build Status codecov Go Report Card Docker Pulls

Drone plugin for trigger Jenkins jobs.

Build

Build the binary with the following commands:

$ make build

Testing

Test the package with the following command:

$ make test

Docker

Build the docker image with the following commands:

$ make docker

Please note incorrectly building the image for the correct x64 linux and with GCO disabled will result in an error when running the Docker image:

docker: Error response from daemon: Container command
'/bin/drone-jenkins' not found or does not exist..

Usage

Execute from the working directory:

docker run --rm \
  -e PLUGIN_BASE_URL=http://example.com \
  -e PLUGIN_USERNAME=xxxxxxx \
  -e PLUGIN_TOKEN=xxxxxxx \
  -e PLUGIN_JOB=xxxxxxx \
  -v $(pwd):$(pwd) \
  -w $(pwd) \
  appleboy/drone-jenkins

Load all environments from file.

docker run --rm \
  -e ENV_FILE=your_env_file_path \
  -v $(pwd):$(pwd) \
  -w $(pwd) \
  appleboy/drone-jenkins
S
Description
No description provided
Readme MIT 152 MiB
Languages
Go 94.7%
Makefile 4.2%
Dockerfile 1.1%