docker run -p 8080:8080 -p 50000:50000 -v /Users/XXXi/jenkins_home:/var/jenkins_home jenkins
pipeline {
    agent any
    stages {
        stage('build') {
            steps {
                sh '${PYTHON3}/bin/python3 --version'
                echo 'python~~~~'
            }
        }
    }
     post {
        always {
            echo 'report'
        }

    }
}

问题点


↙↙↙阅读原文可查看相关链接,并与作者交流