hrcorval / behavex

BDD test wrapper for parallel test executions and more!
https://github.com/hrcorval/behavex
MIT License
85 stars 20 forks source link

Jenkins Configuration for Behavex #122

Closed crr1991 closed 2 months ago

crr1991 commented 7 months ago

I have tried pip install in the local machine and it is working as expected.

Similarly tried to install the pip in Jenkins and showed the error as /home/jenkins/agent/workspace/on_Ignite-Core-Automation_space7@tmp/durable-8a1feb99/script.sh: behavex: not found

Does it work in the Jenkins?? If yes, please suggest, if am I missing anything over here.

When i install the behavex in Jenkins where am getting the below warning.

WARNING: The script behavex is installed in '/home/jenkins/.local/bin' which is not on PATH. 17:07:32 Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.

Does it causing any issue??

Thanks in advance

hrcorval commented 2 months ago

Hi @crr1991. When installing BehaveX, it creates an executable file that is provided in the default binaries path associated to the Python distribution. If the binaries path is not in the PATH variable, it will no be found in console when typing "behavex". This is not an issue related to the BehaveX library, but the Python configuration in your local machine, so it will happen for any binary provided by other python libraries. Regards,