Additional parameters for DevOps build specification file

  • Services: DevOps
  • Release Date: Jan. 28, 2022

Input Artifacts: You can now define the list of input artifacts in the build specification file for running the current build stage in the build pipeline. During the build run, the build pipeline downloads the artifact and makes it available at the specified location that is later used in the build stages.

"Commit Hash" as a predefined variable: You can now add "Commit Hash" as a predefined system variable that is available during the build run. You can use "Commit Hash" in naming any of the artifacts. You are not required to write additional commands (git command) in the build specification file to fetch the commit hash into a variable and then use it.

Along with "Commit Hash," you can also add "Repository URL" and "Branch Name" as the predefined system variables.

Support parameter substitution for the "location" attribute in the Output Artifacts section: You can now parametrize the "location" attribute in the Output Artifacts section, enabling you to use dynamic file names for the build artifacts, instead of specifying the complete file path in the location attribute.