diff options
| author | 2019-06-25 09:47:12 -0700 | |
|---|---|---|
| committer | 2019-06-29 20:05:39 -0700 | |
| commit | 14e179a1d702a9fc63b296a722f8b66ef5ef0b1d (patch) | |
| tree | f116859b6c66c75ef75de3405c2a7ed1de35b493 | |
| parent | Remove output variable (diff) | |
Check Bash version
pls be 4.4+
| -rw-r--r-- | azure-pipelines.yml | 11 | 
1 files changed, 2 insertions, 9 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 575e634..a05fc3b 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -48,13 +48,7 @@ jobs:          printf '%s\n' "##vso[task.setvariable variable=PREV_COMMIT]${prev_commit}"        displayName: 'Get Previous Successful Build' -    - script: echo '$(PREV_BUILD)' - -    - task: ShellScript@2 -      inputs: -        scriptPath: './scripts/test.sh' -        args: $(PREV_BUILD) -      displayName: 'Print PREV_BUILD' +    - script: echo "${BASH_VERSION}"      - task: DownloadPipelineArtifact@2        inputs: @@ -63,7 +57,7 @@ jobs:          pipeline: $(System.DefinitionId)          buildVersionToDownload: 'specific'          buildId: $(PREV_BUILD) -        artifactName: 'base_id' +        artifactName: 'BaseId'        displayName: 'Download Base ID Artifact'      - script: | @@ -90,4 +84,3 @@ jobs:          path: base.sha256          artifact: BaseId        displayName: 'Publish Base ID Artifact' -      enabled: false  |