Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/move-sysadmin/jenkins-node-labeler
Automagically add labels to macOS Jenkins nodes
https://github.com/move-sysadmin/jenkins-node-labeler
ios jenkins macos
Last synced: 8 days ago
JSON representation
Automagically add labels to macOS Jenkins nodes
- Host: GitHub
- URL: https://github.com/move-sysadmin/jenkins-node-labeler
- Owner: move-sysadmin
- License: mit
- Created: 2020-09-17T11:31:41.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2024-05-15T08:31:16.000Z (6 months ago)
- Last Synced: 2024-05-15T23:33:21.571Z (6 months ago)
- Topics: ios, jenkins, macos
- Language: Python
- Size: 16.6 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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 labelsexamples
`'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"
```