From 880672cc5ee15cb95b8ac11fd99f3294c6f84796 Mon Sep 17 00:00:00 2001 From: Mitch Denny Date: Wed, 14 Aug 2019 11:20:07 -0700 Subject: [PATCH] Change environment flags. --- eng/pipelines/templates/jobs/archetype-sdk-client.yml | 2 +- sdk/keyvault/ci.yml | 1 + sdk/keyvault/pom.service.xml | 8 ++++---- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/eng/pipelines/templates/jobs/archetype-sdk-client.yml b/eng/pipelines/templates/jobs/archetype-sdk-client.yml index 6396de28ef68b..c468ebd85216c 100644 --- a/eng/pipelines/templates/jobs/archetype-sdk-client.yml +++ b/eng/pipelines/templates/jobs/archetype-sdk-client.yml @@ -237,7 +237,7 @@ jobs: - task: Maven@3 displayName: 'Start Jetty' - condition: ne(variables['EnableJetty'], 'false') + condition: ne(variables['SdkType'], 'client') inputs: mavenPomFile: pom.client.xml options: '$(DefaultOptions) $(ProfileFlag)' diff --git a/sdk/keyvault/ci.yml b/sdk/keyvault/ci.yml index 86f34aff2e795..53e3914312073 100644 --- a/sdk/keyvault/ci.yml +++ b/sdk/keyvault/ci.yml @@ -34,6 +34,7 @@ pr: - sdk/keyvault/microsoft-azure + stages: - template: ../../eng/pipelines/templates/stages/archetype-sdk-client.yml parameters: diff --git a/sdk/keyvault/pom.service.xml b/sdk/keyvault/pom.service.xml index 6aaf0c69b41fd..d64ee420186b6 100644 --- a/sdk/keyvault/pom.service.xml +++ b/sdk/keyvault/pom.service.xml @@ -12,8 +12,8 @@ data - env.ENABLEJETTY - true + env.SDKTYPE + data @@ -30,8 +30,8 @@ client - env.ENABLEJETTY - !true + env.SDKTYPE + !data