6177214e-ce7c-49e3-99de-ff9721b26f63 — Commit 60409217
Changed files
azure/azure-pipelines.yml | 6 +++--- azure/templates/build-android.yml | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-)
Diff
diff --git a/azure/azure-pipelines.yml b/azure/azure-pipelines.yml
index e3b42011..cac2e01a 100644
--- a/azure/azure-pipelines.yml
+++ b/azure/azure-pipelines.yml
@@ -41,8 +41,8 @@ stages:
echo "##vso[task.setvariable variable=flavor]releaseprod"
displayName: 'Set variables for prod'
- template: /azure/templates/build-android.yml
- parameters:
- flavor: $( flavor )
+ # parameters:
+ # flavor: $( flavor )
# - stage: CI_iOS
@@ -92,7 +92,7 @@ stages:
pool:
vmImage: 'ubuntu-latest'
dependsOn: CI_Android
- condition: and(succeeded('CI_Android'), or(eq(variables['Build.SourceBranch'], 'refs/heads/test'), eq(variables['Build.SourceBranch'], 'refs/heads/stage'), eq(variables['Build.SourceBranch'], 'refs/heads/prod')))
+ condition: and(succeeded('CI_Android'), or(eq(variables['Build.SourceBranch'], 'refs/heads/dev'), eq(variables['Build.SourceBranch'], 'refs/heads/stage'), eq(variables['Build.SourceBranch'], 'refs/heads/prod')))
jobs:
- deployment:
environment: 'dev'
diff --git a/azure/templates/build-android.yml b/azure/templates/build-android.yml
index be650c7d..f9966ccd 100644
--- a/azure/templates/build-android.yml
+++ b/azure/templates/build-android.yml
@@ -1,6 +1,6 @@
-parameters:
- - name: flavor
- type: string
+# parameters:
+# - name: flavor
+# type: string
steps:
- task: DownloadSecureFile@1
@@ -69,7 +69,7 @@ steps:
buildNumber: "$(Build.BuildId)"
target: "aab"
extraArgs: "-t lib/main.dart"
- buildFlavour: ${{ parameters.flavor }}
+ buildFlavour: "releasetest"
projectDirectory: "$(Build.SourcesDirectory)/comwell_key_app"
#- task: FlutterTest@0