项目作者: jenkins-zh

项目描述 :
高级语言: Groovy
项目地址: git://github.com/jenkins-zh/shared-library.git
创建时间: 2019-08-25T11:54:50Z
项目社区:https://github.com/jenkins-zh/shared-library

开源协议:

下载


shared-library

Test it with the following Jenkinsfile:

  1. library identifier: 'custom-lib@master', retriever: modernSCM(
  2. [$class: 'GitSCMSource',
  3. remote: 'https://github.com/jenkins-zh/shared-library'])
  4. pipeline {
  5. agent any
  6. stages {
  7. stage('test') {
  8. steps {
  9. script {
  10. entry.container_x('base', 'go version') {
  11. sh 'echo hello'
  12. }
  13. }
  14. }
  15. }
  16. }
  17. }