jfrog-cli icon indicating copy to clipboard operation
jfrog-cli copied to clipboard

Add a flag to export the output of jf audit command in a file.

Open shashwathrai opened this issue 2 years ago • 1 comments

Is your feature request related to a problem? Please describe. Add a flag to export the output of jf audit command in a file. From the command line, we can export the output to a file using the > command. However in the Jenkins pipeline script to run the command within sh we need to provide the actual path of the JFrog CLI installation. For example: sh "/Users/shashwathr/.jenkins/tools/io.jenkins.plugins.jfrog.JfrogInstallation/jf/jf audit xxx > $WORKSPACE/audit-report.json"

Describe the solution you'd like to see Any flag to export the data into a file within JFrog CLI.

Describe alternatives you've considered We can provide the actual path of the JFrog CLI installation.

shashwathrai avatar Aug 29 '23 03:08 shashwathrai