Configure the Packaging Job

If you've set up your visual application to use CI/CD pipelines for deployment, the packaging job generates two archive files from your visual application's source files: a source archive file that contains the visual application's source files and a build artifact archive file. You have the option to specify custom file names for these archive files.

If you don't want to change the visual application's default archive file names, there's no need to configure the packaging job. However, if you do want to specify custom names, follow these steps:
  1. In the left navigator, click Builds Builds.
  2. In the Jobs tab, click the packaging job.
  3. Click Configure.
  4. Click Configure Builds.
  5. Click the Steps tab and navigate to the Visual Application Packaging section.
  6. By default, the build jobs minifies the application's source code before running the build. If you don't want to minify the source files, deselect the Optimize application check box.
    Minification is a process to remove the unnecessary characters (such as blank spaces, new lines, and comments) from the source code and reduce the size of the files, making the transfer of files consume less bandwidth and storage.
  7. If you want to change the default names of the archive files, in File names, select Use custom file names.
    In Sources, specify the visual application source archive file's name and path. In Build Artifact, specify the build artifact archive file's name and path.

    You'll need both archive files to deploy the visual application.

  8. Click Save.
If you change the default file names of archive files, then remember to configure the deployment job to use the same file names.
  1. In the Jobs tab, click the deployment job.
  2. Click Configure.
  3. Click Configure Builds.
  4. Click the Steps tab and navigate to the Visual Application Deployment section.
  5. In File names, select Use custom file names.
  6. In Sources and Build Artifact, enter the same file names (with path) you specified in the packaging job.
  7. Click Save.