jenkins-zh / shared-library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About


Languages

Language:Groovy 100.0%