Conditional logic in pipelines YAML

Today I learned that you can have conditional expressions in Azure Pipelines YAML files: steps: - script: tool env: ${{ if parameters.debug }}: TOOL_DEBUG: true TOOL_DEBUG_DIR: _dbg ${{ else }}: TOOL_DEBUG: false TOOL_DEBUG_DIR: _dbg

October 16, 2023 路 1 min 路 Brandon Pugh

Highlight text in markdown

I just learned that you can highlight text in PR descriptions and comments on Azure devops by using the <mark> element in your markdown: <mark>Notice this!</mark> I don鈥檛 think I was even aware of the mark html element even though it鈥檚 been around for a while now.

September 22, 2023 路 1 min 路 Brandon Pugh

Press `ctrl+enter` to submit a comment on Azure DevOps

Pressing ctrl+enter in a comment field on Azure DevOps will submit the comment! For some reason, this isn鈥檛 listed on their keyboard shortcuts page but it鈥檚 so much nicer than using the mouse or pressing tab four times.

July 19, 2023 路 1 min 路 Brandon Pugh