wangzilun
2022-03-08 da8f58507005139d23553b0c6c735617d273d174
Jenkinsfile
@@ -40,7 +40,12 @@
        //}
        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"
                '''
            }
        }