-
Notifications
You must be signed in to change notification settings - Fork 32
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
Plugin executes commands in a wrong container in case of k8s pod agent #59
Labels
bug
Something isn't working
Comments
sotona-
changed the title
Plugin executes commands in a wrong container in a case of k8s pod agent
Plugin executes commands in a wrong container in case of k8s pod agent
Sep 8, 2022
Just checked with latest plugin version and this pipeline:
The sourceanalyzer binary is in $PATH, it can be executed using the sh step, but the plugin can't run it.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Jenkins and plugins versions report
Jenkins: 2.332.3
OS: Linux - 4.18.0-305.25.1.el8_4.x86_64
Agent: jnlp 4.11 in debian based container
Plugin: fortify:22.1.38
Reproduction steps
Expected Results
it should run a
/opt/fortify/bin/scancentral .....
command inside afortify
container, which actually has thescancentral
binaryActual Results
plugin tries to run the
scancentral
command inside ajnlp
container and fails:Anything else?
I found a temporary way to avoid it: to create a universal agent image with both Fortify client and JNLP, and use it in a pod template, but I hope this bug will be fixed. Thank you.
The text was updated successfully, but these errors were encountered: