To upload build results to a file release in Digital.ai Teamforge, configure the file release component as a post-build action in Jenkins.
Before you set up the Digital.ai plugin, make sure that the Teamforge project contains valid package and file release folders.
- In the Hudson interface for the job, click Configure.
- In the Post-build Actions section, select Digital.ai File Release.
- Enter the URL of the Digital.ai site. For example, https://forge.collab.net.
- Enter the username and password of the Digital.ai Teamforge project member who will upload the files.
- Enter the name of the Digital.ai Teamforge project, the package and the file release where you want the build files added.
- Specify whether you want existing files with the same name to be overwritten.
- Specify a file pattern so that files that match the pattern are uploaded. You may use Hudson environmental variables in your file patterns. For example, pkg/subversion-r $ {SVN_REVISION).tar.gz, in a job to build Subversion source code.
- Click Save.
The File Release plugin can be used to upload any workspace artifact to the File Release system. It can be configured as a post-build action or a promoted-builds action. The file release user must have permission to upload add file releases in the project. Below is how a promoted-builds setup might look.
The resulting files will be in the File Release System, like so: