env

package module
v0.0.0-...-abc1ed4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 11, 2021 License: MIT Imports: 1 Imported by: 0

README

Woodpecker Env

Woodpecker Environment variables for plugins.

Updating

Replace the input and re-run go generate ./...

License

MIT

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	CI                           string // Example: drone
	CI_BUILD_CREATED             string // Example: 1639112012
	CI_BUILD_EVENT               string // Example: pull_request
	CI_BUILD_FINISHED            string // Example: 1639112085
	CI_BUILD_LINK                string // Example: https://git.jojodev.com/Canopy/website/pulls/1
	CI_BUILD_NUMBER              string // Example: 17
	CI_BUILD_STARTED             string // Example: 1639112014
	CI_BUILD_STATUS              string // Example: success
	CI_COMMIT_AUTHOR             string // Example: jolheiser
	CI_COMMIT_AUTHOR_AVATAR      string // Example: https://git.jojodev.com/user/avatar/jolheiser/-1
	CI_COMMIT_AUTHOR_NAME        string // Example: jolheiser
	CI_COMMIT_BRANCH             string // Example: main
	CI_COMMIT_MESSAGE            string // Example: Add netlify process
	CI_COMMIT_REF                string // Example: refs/pull/1/head
	CI_COMMIT_REFSPEC            string // Example: netlify:main
	CI_COMMIT_SHA                string // Example: 2abc3b37e83ac31ec8210b8504e64896a49f249c
	CI_JOB_FINISHED              string // Example: 1639112085
	CI_JOB_NUMBER                string // Example: 1
	CI_JOB_STARTED               string // Example: 1639112014
	CI_JOB_STATUS                string // Example: success
	CI_PREV_BUILD_CREATED        string // Example: 1639111573
	CI_PREV_BUILD_EVENT          string // Example: pull_request
	CI_PREV_BUILD_FINISHED       string // Example: 1639111668
	CI_PREV_BUILD_LINK           string // Example: https://git.jojodev.com/Canopy/website/pulls/1
	CI_PREV_BUILD_NUMBER         string // Example: 15
	CI_PREV_BUILD_STARTED        string // Example: 1639111575
	CI_PREV_BUILD_STATUS         string // Example: failure
	CI_PREV_COMMIT_AUTHOR        string // Example: jolheiser
	CI_PREV_COMMIT_AUTHOR_AVATAR string // Example: https://git.jojodev.com/user/avatar/jolheiser/-1
	CI_PREV_COMMIT_AUTHOR_NAME   string // Example: jolheiser
	CI_PREV_COMMIT_BRANCH        string // Example: main
	CI_PREV_COMMIT_MESSAGE       string // Example: Add netlify process
	CI_PREV_COMMIT_REF           string // Example: refs/pull/1/head
	CI_PREV_COMMIT_REFSPEC       string // Example: netlify:main
	CI_PREV_COMMIT_SHA           string // Example: 5329dfdfef3f1388b1698aa5fe99a26edd15f7fa
	CI_PULL_REQUEST              string // Example: 1
	CI_REMOTE_URL                string // Example: https://git.jojodev.com/Canopy/website.git
	CI_REPO                      string // Example: Canopy/website
	CI_REPO_LINK                 string // Example: https://git.jojodev.com/Canopy/website
	CI_REPO_NAME                 string // Example: Canopy/website
	CI_REPO_REMOTE               string // Example: https://git.jojodev.com/Canopy/website.git
	CI_SYSTEM                    string // Example: woodpecker
	CI_SYSTEM_ARCH               string // Example: linux/amd64
	CI_SYSTEM_HOST               string // Example: ci.jojodev.com
	CI_SYSTEM_LINK               string // Example: https://ci.jojodev.com
	CI_SYSTEM_NAME               string // Example: woodpecker
	CI_WORKSPACE                 string // Example: /woodpecker/src/git.jojodev.com/Canopy/website
)

List of CI env variables with an example value comment

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL