Closed shravankumar88 closed 2 years ago
@shravankumar88 from what it looks like the node that executing the pipeline does not have datree plugin installed on helm, Is there a chance that the machine you installed datree plugin on is not the same that executes the pipeline?
Alternatively, you can add the command helm plugin install https://github.com/datreeio/helm-datree
in the pipeline before running the datree test command
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Describe the bug In Jenkins when I run the script pipeline { agent any stages { stage ("identifying misconfigure using datree in helm charts") { steps { dir('kubernetes/') { sh 'helm datree test myapp' } } } } } Getting exception: Running in /var/lib/jenkins/workspace/sampleweb/kubernetes [Pipeline] { [Pipeline] sh
To Reproduce Steps to reproduce the behavior:
Expected behavior Schema validation and provide policy rules Screenshots Started by user shravan kumar Replayed #101 [Pipeline] Start of Pipeline [Pipeline] node Running on Jenkins in /var/lib/jenkins/workspace/sampleweb [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential jenkinsAuth-BitBucket
Desktop (please complete the following information):
Datree version (run
datree version
):Additional context
Add any other context about the problem here.
If possible, include a YAML file to reproduce the bug.