關于 Jenkins 生成 NAN% 和 null 報告 URL 的 Allure 報告。我下面有一個管道,它正在生成有關URL /null/的報告。在我添加${env之前,它工作正常。HOME} 在我的目錄中。但現在它不起作用了pipeline { agent { label { label "" customWorkspace "${env.HOME}/test" } } tools {nodejs "node"} stages { stage('Checkout App') { steps { dir("${env.HOME}/app") { echo "Building.." sh 'git pull' } // build shopfloor app dir("${env.HOME}/app") { sh "/${env.HOME}/test/App.sh" } } } } post('Publish Report') { always { script { allure([ includeProperties: false, jdk: '', properties: [], reportBuildPolicy: 'ALWAYS', results: [[path: 'target/allure_results']] ]) } } }} 它說誘惑報告生成于:allure-results does not existsReport successfully generated to /Users/john/.jenkins/null/test/allure-reportAllure report was successfully generated.Creating artifact for the build.Artifact was added to the build.
關于 Jenkins 生成 NAN% 和 null 報告 URL 的 Allure 報告
智慧大石
2022-08-27 13:54:50