Skip to content

Jenkins shared/global library for building golang code (go pipeline)

License

Notifications You must be signed in to change notification settings

atselvan/jenkins-pipeline-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go pipeline

Configure Shared library

adding-shared-libraries

Usage

Add below line in your JenkinsFile to invoke the shared library

@Library(['jenkins-pipeline-go']) _
goPipeline()

And add a jenkins.yml-file (description in Configuration)

Project setup

We assume that if your groupId is com.privatesquare.go and your artificatId is myApplication, then your application can be found in the folder src/com/privatesquare/go/myApplcation (relative to the rootfolder of your git-project).

Configuration

name required description example
groupId yes full qualified domain name of your project com.privatesquare.go
artifactId yes name of your application jenkins-ci
version yes major.minor.increment 1.0.0

Example: jenkins.yml

Reference

About

Jenkins shared/global library for building golang code (go pipeline)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages