https://github.com/jenkins-zh/shared-library
https://github.com/jenkins-zh/shared-library
shared-library
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/jenkins-zh/shared-library
- Owner: jenkins-zh
- Created: 2019-08-25T11:54:50.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2021-11-29T06:30:39.000Z (over 3 years ago)
- Last Synced: 2025-01-16T18:06:34.085Z (5 months ago)
- Topics: shared-library
- Language: Groovy
- Homepage:
- Size: 3.91 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# shared-library
Test it with the following Jenkinsfile:
```groovy
library identifier: 'custom-lib@master', retriever: modernSCM(
[$class: 'GitSCMSource',
remote: 'https://github.com/jenkins-zh/shared-library'])
pipeline {
agent any
stages {
stage('test') {
steps {
script {
entry.container_x('base', 'go version') {
sh 'echo hello'
}
}
}
}
}
}
```