Skip to content
This repository was archived by the owner on Feb 13, 2025. It is now read-only.

framna-sysadmin/jenkins-node-labeler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jenkins Node Labeler

Adds a bunch of labels to macOS nodes in Jenkins.

  • macOS version (sw_vers -productVersion)
  • XCode version and XCode major version (xcodebuild -version)
  • node name (hostname)
  • system architecture (uname -m)
  • additional labels

examples 'iOS', 'xcode-13.1', 'xcode-13', 'macos-12.1', 'node-ios-build1', 'arch-arm64'

Settings

JENKINS_USERNAME="some_user"
JENKINS_APIKEY="API_KEY" #See https://www.jenkins.io/blog/2018/07/02/new-api-token-system/
JENKINS_HOST="https://jenkins.example.com"
JENKINS_ADDITIONAL_LABELS="Some-Label Other-label"

About

Automagically add labels to macOS Jenkins nodes

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages