jenkinsci / Golang Plugin
Automatically installs the Go tools on Jenkins build agents
Stars: β 49
Projects that are alternatives of or similar to Golang Plugin
Go Playground
Better Go Playground powered by React and Monaco editor
Stars: β 354 (+622.45%)
Mutual labels: golang-tools
Goggles
π Goggles is a cross-platform GUI for your $GOPATH!
Stars: β 672 (+1271.43%)
Mutual labels: golang-tools
Kubernetes Credentials Provider Plugin
Credentials provider that allows storing credentials in Kubernetes
Stars: β 37 (-24.49%)
Mutual labels: jenkins-plugin
Pipeline Aws Plugin
Jenkins Pipeline Step Plugin for AWS
Stars: β 389 (+693.88%)
Mutual labels: jenkins-plugin
Richgo
Enrich `go test` outputs with text decorations.
Stars: β 544 (+1010.2%)
Mutual labels: golang-tools
Stegify
π Go tool for LSB steganography, capable of hiding any file within an image.
Stars: β 927 (+1791.84%)
Mutual labels: golang-tools
Gotests
Automatically generate Go test boilerplate from your source code.
Stars: β 3,597 (+7240.82%)
Mutual labels: golang-tools
Simple Theme Plugin
A simple theme plugin for Jenkins
Stars: β 45 (-8.16%)
Mutual labels: jenkins-plugin
Gobinaries
Golang binaries compiled on-demand for your system
Stars: β 672 (+1271.43%)
Mutual labels: golang-tools
Go Benchmark App
Application for HTTP benchmarking via different rules and configs
Stars: β 21 (-57.14%)
Mutual labels: golang-tools
Gowrap
GoWrap is a command line tool for generating decorators for Go interfaces
Stars: β 464 (+846.94%)
Mutual labels: golang-tools
Gocurrency
Simple currency converter. Insert an amount, what currency to convert from and what currency to convert to.
Stars: β 26 (-46.94%)
Mutual labels: golang-tools
Tsukae
π§βπ»π Show off your most used shell commands
Stars: β 345 (+604.08%)
Mutual labels: golang-tools
Interact
Question/answer and multiple choice by command line
Stars: β 43 (-12.24%)
Mutual labels: golang-tools
Govalidate
Validates your Go installation and dependencies.
Stars: β 334 (+581.63%)
Mutual labels: golang-tools
Dalfox
ππ¦ DalFox(Finder Of XSS) / Parameter Analysis and XSS Scanning tool based on golang
Stars: β 791 (+1514.29%)
Mutual labels: golang-tools
Gogeom
This is a Geometrical library for Go Language. Which includes multiple Geometrical calculations like Circle, Lines etc in different forms
Stars: β 47 (-4.08%)
Mutual labels: golang-tools
Jenkins Os
Groovy pipeline jobs that build and test Container Linux with Jenkins
Stars: β 43 (-12.24%)
Mutual labels: jenkins-plugin
Go programming language plugin for Jenkins
Automatically installs and sets up the Go programming language (golang) tools on a Jenkins agent during a build.
Functionality
During a build, this plugin can:
- Install a particular version of Go on the agent that the build is running on
- The correct package for the machine's operating system and CPU architecture will be automatically downloaded and installed, if not already present
- Export the
GOROOT
environment variable, pointing to the installed Go tools - Add the path
$GOROOT/bin
to thePATH
, so that the tools are available during the build
Usage
Global configuration
- In the Jenkins global tool configuration settings (Manage Jenkins β Global Tool Configuration), find the "Go" section, click "Go Installationsβ¦" and "Add Go".
- Enter a name, e.g. "Go 1.15" β the name itself has no significance, but will be displayed to users during Freestyle job configuration, or is what you need to enter as the
name
in a Pipeline - Either select "Install automatically" and select the desired Go version from the drop-down list or specify the installation directory manually
Per-job configuration
Freestyle
- In a job's configuration, find the "Build environment" section
- Select the "Set up Go programming language tools" checkbox
- Select the name of a Go installation from the drop-down
Pipeline
As with any other type of Tool Installer, you can use the tool
step, in this case with the go
tool type.
For example, with a Scripted Pipeline:
// Run on an agent where we want to use Go
node {
// Ensure the desired Go version is installed
def root = tool type: 'go', name: 'Go 1.15'
// Export environment variables pointing to the directory where Go was installed
withEnv(["GOROOT=${root}", "PATH+GO=${root}/bin"]) {
sh 'go version'
}
}
Changelog
See CHANGELOG.md.
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].