wangzilun
2022-03-08 14cf68d91a7369836e4048a74f6ad72151100a7b
Jenkinsfile
@@ -40,7 +40,13 @@
        //}
        stage('testFunction') {
            steps {
                sh 'echo test'
                sh '''
                    commit_name="\$(git show -s --pretty=%an)"
                    commit_message="\$(git show -s --pretty=%s)"
                    echo "\$commit_name"
                    echo "\$commit_message"
                    printenv
                '''
            }
        }