Download Baseline Pipeline
This chapter is specific to SDE, that is referencing Aras.DevOpsFramework.SaaS3 package, and enables you to establish a new baseline for Local development environment.
The baseline must be downloaded using the Download Baseline pipeline, which provides the CI-generated baseline. The downloaded .bacpac file should be used for your local development environment.
Follow these steps to download a baseline using the Download Baseline pipeline:
Run the pipeline. In your Azure DevOps project, go to Pipelines, locate the Download Baseline pipeline, and click Run pipeline.
Select the Branch in the Work Repo and specify Optional variable group name if necessary, then click Next: Resources.
Select the CI run. Choose the CI pipeline run, which provides the required generated baseline, then click Run.
Wait for completion. Wait until the pipeline finishes successfully (status is green).
- Open Publish DB backup step of green Download Baseline pipeline and note down the package name and version.
Open the Baselines feed. Go to Artifacts in your Azure DevOps project and open the Baselines Feed.
- Select the required version. Open Versions and click the version you want to download.
Copy the download command.Copy the PowerShell command provided for downloading the artifact.
- Download the baseline locally. Open PowerShell on your local machine, paste the copied command, and press Enter to start the download.
If everything is successful, you will see output similar to the following, and the file DatabaseBackup. bacpac will be downloaded to the current PowerShell directory.
10. Make sure that last commit before current release is specified in Default.Settings. includes and corresponds to downloaded baseline.
11. Make sure that code tree.zip of clean released Aras Innovator (without customizations) is added to Machine.Settings. include
Example:
<property name="Path.To.CodeTree.Zip" overwrite="true" value="C:\path\to\CodeTree.zip" />
12. Make sure that Path.To.DB.Bacpac environment variable is set to the downloaded bacpac filepath.
Example of PowerShell command to setPath.To.DB.Bacpac:
[Environment]::SetEnvironmentVariable('Path.To.DB.Bacpac','C:\path\to\DatabaseBackup.bacpac')