jfrog-cli
jfrog-cli copied to clipboard
Add a flag to export the output of jf audit command in a file.
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.