Branch Project: Upload Codebase

Code Insight 2020 R3

The Upload Codebase page in the Branch Project wizard identifies and uploads one or more codebase files for the branch project. For each codebase you want to upload, repeat the process of selecting the codebase archive, specifying the upload options, and then uploading the codebase.

This page is enabled only if you selected the Upload Codebase option from the previous Project Information page.

If you also selected the Sync with Source Control option on the Project Information page, the codebases obtained through synchronization with your Source Control Management system (described in Branch Project: Version Control Settings) during the branching operation will be added to the codebases uploaded from this page. For a description of the procedures related to the Upload Codebase page, see the following:

Branching a Project
Step 2: Uploading a Codebase (Optional)

The following describes the properties and actions available on the Upload Codebase page:

Branch Project: Upload Codebase Page

Field

Description

Select Archive File

Click this button to select the archive file containing the codebase you want to upload. The selected archive is displayed in the text box next to this button.

Only a .zip, .tar, .tar.gz, or .7z archive is accepted. The maximum archive file size is 10 GB.

Delete existing project codebase files

Select this option to delete all codebase files that you might have already uploaded from this page and replace them with files from the codebase currently selected for upload. If you leave this option unchecked, files from the selected codebase are added to the already uploaded files.

Archive Expansion Options

Select the level of archive expansion you want the upload to perform:

Uploaded file only—Extract the files from the uploaded archive. Any extracted archives are not expanded.
Uploaded file and first-level archives only—Extract the files from the uploaded archive and expand all first-level archives in the codebase. Note that the expanded archive itself is retained along with its extracted contents in the parent folder.
Uploaded file and all contained archives—Extract the files from the uploaded archive and expand archives at all levels (that is, archives with archives within archives and so forth) in the codebase. Note that each expanded archive is retained along with its extracted contents in the parent folder.

For more information about archive expansion during a codebase upload, see More About Archive Expansion Behavior During Codebase Uploads.

Upload Project Codebase

Click this button to upload the selected codebase.

Once the upload completes, you can upload another codebase by selecting its archive, specifying the appropriate expansion option for the upload, and clicking this button again. You can upload as many codebases as needed.

Next

Click this button to move to the next available wizard page.

If you selected Sync from Source Control on the Project Information page, the Version Control Settings page in the wizard opens. If you did not select this option, the Project Copy Settings page opens.

Back

Click this button to navigate back to the Project Information page. Note that you cannot edit the Name field for project. Additionally, if you uploaded a codebase, the Scan Server and Upload Codebase options on the Project Information page are disabled.

Cancel

Click this button to cancel the project-branching setup. The branch project and any uploaded codebases for the project are deleted from Code Insight.