Skip to content

Latest commit

 

History

History
25 lines (21 loc) · 438 Bytes

README.md

File metadata and controls

25 lines (21 loc) · 438 Bytes

shared-library

Test it with the following Jenkinsfile:

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'
          }
        }
      }
    }
  }
 }