jenkinsci / allure-plugin

Allure Jenkins Plugin
https://plugins.jenkins.io/allure-jenkins-plugin/
Other
84 stars 63 forks source link

java.io.IOException: Can't find allure commandline <null> #309

Open leeonfu opened 2 years ago

leeonfu commented 2 years ago

Jenkins and plugins versions report

Environment ```text Paste the output here ```

What Operating System are you using (both controller, and any agents involved in the problem)?

I configured the allure directory in the settings, the jenkins/inbound-agent image also added allure, and set the environment variables! But also "java.io.IOException: Can't find allure commandline "

// jenkinsfile stage('Generate Test Report') { container('allure') { allure includeProperties: false, jdk: '',report: 'allure-report', results: [[path: 'report_results']] } }

Reproduction steps

I configured the allure directory in the settings, the jenkins/inbound-agent image also added allure, and set the environment variables! But also "java.io.IOException: Can't find allure commandline "

// jenkinsfile stage('Generate Test Report') { container('allure') { allure includeProperties: false, jdk: '',report: 'allure-report', results: [[path: 'report_results']] } }

Expected Results

success

Actual Results

java.io.IOException: Can't find allure commandline

Anything else?

No response

vbragin commented 10 months ago

Hello @hellolittlewei Have you install the command-line tool as explain in the documentation? see: https://allurereport.org/docs/integrations/jenkins/ part Install the global tool