From f08c4cc799976c5bbbba96545786c4a7aeb46e10 Mon Sep 17 00:00:00 2001 From: George Kosmidis Date: Sat, 31 Aug 2024 18:07:23 +0200 Subject: [PATCH] Updating article --- .../content.json | 2 +- .../content.md | 24 ++++++++++++++++++- 2 files changed, 24 insertions(+), 2 deletions(-) diff --git a/workables/articles/100620-variables-in-bash-and-azure-pipelines/content.json b/workables/articles/100620-variables-in-bash-and-azure-pipelines/content.json index 7d38ed7b9..ae02aa986 100644 --- a/workables/articles/100620-variables-in-bash-and-azure-pipelines/content.json +++ b/workables/articles/100620-variables-in-bash-and-azure-pipelines/content.json @@ -1,7 +1,7 @@ { "RelativeUrl": "/variables-in-bash-and-azure-pipelines.html", "Title": "Variables in Bash and Azure Pipelines", - "Description": "", + "Description": "In this article, we'll explore the basics of variables in Bash, focusing on the role of symbols like $, (, [, and {. Each of these symbols has a specific function in Bash scripting, from referencing variables to grouping commands and conditions. Understanding these will not only enhance your scripting skills but will also give you a better grasp of how similar concepts are applied in Azure Pipelines", "DatePublished": "2024-08-31T15:15:00+01:00", "DateModified": "2024-08-31T15:51:00+01:00", "RelativeImageUrl": "", diff --git a/workables/articles/100620-variables-in-bash-and-azure-pipelines/content.md b/workables/articles/100620-variables-in-bash-and-azure-pipelines/content.md index f27002b3f..420b9d173 100644 --- a/workables/articles/100620-variables-in-bash-and-azure-pipelines/content.md +++ b/workables/articles/100620-variables-in-bash-and-azure-pipelines/content.md @@ -1,6 +1,28 @@ # Contents -... +- [Contents](#contents) +- [Intro](#intro) +- [Part 1. Variables in Bash](#part-1-variables-in-bash) + - [b. Parentheses `(...)`](#b-parentheses-) + - [c. Square Brackets `[]`](#c-square-brackets-) + - [d. Curly Braces `{}`](#d-curly-braces-) +- [Part 2. Variables in Azure Pipelines Tasks](#part-2-variables-in-azure-pipelines-tasks) + - [a. Using Variables in Azure Pipelines](#a-using-variables-in-azure-pipelines) + - [b. Mapping Bash Concepts to Azure Pipelines](#b-mapping-bash-concepts-to-azure-pipelines) +- [Part 3. Combining Bash and Azure Pipelines](#part-3-combining-bash-and-azure-pipelines) + - [a. Running Bash Scripts in Azure Pipelines](#a-running-bash-scripts-in-azure-pipelines) + - [b. Variable Interchange Between Bash and Azure Pipelines](#b-variable-interchange-between-bash-and-azure-pipelines) +- [Part 4. Exchanging Variables Between Tasks](#part-4-exchanging-variables-between-tasks) + - [a. Variable Scope and Lifespan](#a-variable-scope-and-lifespan) + - [b. Practical Examples](#b-practical-examples) +- [Part 5. Exchanging Variables Between Jobs](#part-5-exchanging-variables-between-jobs) + - [a. Job Dependencies and Variable Sharing](#a-job-dependencies-and-variable-sharing) + - [b. Job Output as Input](#b-job-output-as-input) + - [Persisting Variables Across Jobs Using Pipeline Artifacts](#persisting-variables-across-jobs-using-pipeline-artifacts) +- [Part 6. Exchanging Variables Between Stages](#part-6-exchanging-variables-between-stages) + - [a. Stage-Level Variable Sharing](#a-stage-level-variable-sharing) + - [b. Example Pipeline with Multi-Stage Variable Sharing](#b-example-pipeline-with-multi-stage-variable-sharing) +- [Conclusion](#conclusion) # Intro