-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Jenkins pipeline job cannot find allure commandline #175
Comments
We have more or less the same setup and we are experiencing exactly the same issue. |
any update on this guys??? please help me I'm facing the same issue |
same here, still no updates on this issue... 5 years have passed... |
Issue
Context
Jenkins version: 2.73.1
Job type: Pipeline (Bitbucket Team/Project)
Allure plugin version: 2.24
Allure commandline version: 2.4.1
Problem description
We are running some E2E tests using WebdriverIO using a Jenkins pipeline job. We are using a custom docker image that has Java 8, Allure 2.4.1 and node 6.11.5 installed (since the tests are written in Javascript).
In
Global Tool Configuration
underAllure Commandline
we have selected theRun Shell Command
option and filled out/usr/local/lib/allure-2.4.1/bin/allure
forCommand
and/usr/local/lib/allure-2.4.1
forTool Home
.Our Jenkinsfile looks somewhat like this at the end (I've exluded some not really relevant parts):
When running this post step, the line
sh '/usr/local/lib/allure-2.4.1/bin/allure'
gives us this output:While the
allure
command returns the following error message:Which kind of confuses us, because the two lines get executed inside the same docker container, directly after one another.
We would expect that the
allure
executable get found and executedLogs & Traces
This is the content of the Dockerfile we're using:
I hope this is the right place to ask and we've provided enough information. Thanks
The text was updated successfully, but these errors were encountered: