jenkinsci/fortify-on-demand-uploader-plugin

Include all project files option does not pull all files in the workspace

Closed this issue · 1 comments

We are using the plugin to upload the packaged war containing the deployable artifact containing compiled code plus the uncompiled source code. This was a recommendation from FoD team.

A sample of the workspace in Jenkins would look like this

./workspace root

  • deployable.war
  • main/
    • programs/
      • folder A
      • folder B
      • (multiple other subfolders)
    • resources/

As you can see the Jenkins job workspace root has two items, a war and a folder with the uncompiled source code. The plugin selects the war and some source code files contained in subfolders. I have ticked "Include all project files" option (unless I am understanding that option incorrectly). However there are many folders that are not included in the zip. There is no clear indication of why it selects folder A and not folder B (for example)

If I generate the zip myself as part of the build step, the plugin tries to generate another zip containing my zip and the upload fails.

Perhaps a possible feature could offer the option to select a zip file name that should exist in the workspace (created by a previous shell step)
OR for the plugin to create the zip as it currently does but pulling everything with the user able to provide a list of file extensions to exclude.

Resolved as issue with Jenkins not specifically this plugin