title: Inheritance for the parameters defined in azure pipelines
body: <p>I have multiple azure pipelines which have similar azure YAML files. The parameters defined in those YAML files are repetitive. Can it be inherited, if I define those parameters in a common YAML file?</p>
  <pre>
  ##saving-account.yml <br>
  name: savings <br>
  parameters:
  <pre>
   -name:run_mode
    type:string
    default:custom
   -name:app_version
    type:string
    default:uat
  </pre>
  <p>stages:</p>
  <pre>
  -stage:RunScript
   jobs:
    -job: script
     steps: script
       -script: /mylocation/savings.sh -r ${{parameters.run_mode }} -a ${{ parameters.app_version}}
  </pre>
  </pre>
  <br>
  This is the saving account pipeline. Similarly, I have for loan/mortgage accounts
  <pre>
  ##loans-account.yml <br>
  name: savings <br>
  parameters:
  <pre>
   -name:run_mode
    type:string
    default:custom
   -name:app_version
    type:string
    default:uat
  </pre>
  stages:
  
  -stage:RunScript
   jobs:
    -job: script
     steps: script
       -script: /mylocation/loans.sh -r ${{parameters.run_mode }} -a ${{ parameters.app_version}}
  </pre>
   
  and this is true for other scripts too. So, if we see both the examples, the parameters remain the same, and the jobs->steps->script file changes. Can I pull out the parameters from the individual files and put them in a common file and then extend that file somehow in other files. I have seen this example, <br>
  https://docs.microsoft.com/en-us/azure/devops/pipelines/process/templates?view=azure-devops
   <br>
  It talks about inheriting processes as templates, but I could not find an example for using the common parameters. I don't want to use variables, since I am not sure they can be changed while execution externally from azure-pipelines UI.