diff --git a/vsts-ci.Gradle.yml b/vsts-ci.Gradle.yml index 800a0dc8c..88157314c 100644 --- a/vsts-ci.Gradle.yml +++ b/vsts-ci.Gradle.yml @@ -21,11 +21,10 @@ steps: - task: CopyFiles@2 inputs: - contents: '**/*.jar' + contents: '**/*.war' targetFolder: '$(build.artifactStagingDirectory)' - task: PublishBuildArtifacts@1 inputs: - artifactName: jars - publishLocation: container + artifactName: 'war' pathToPublish: '$(build.artifactStagingDirectory)' diff --git a/vsts-ci.yml b/vsts-ci.yml index 59d181688..59357b5a9 100644 --- a/vsts-ci.yml +++ b/vsts-ci.yml @@ -20,11 +20,10 @@ steps: - task: CopyFiles@2 inputs: - contents: '**/*.jar' + contents: '**/*.war' targetFolder: '$(build.artifactStagingDirectory)' - task: PublishBuildArtifacts@1 inputs: - artifactName: 'jars' - publishLocation: 'container' + artifactName: 'war' pathToPublish: '$(build.artifactStagingDirectory)'