Skip to content

Commit

Permalink
Publish war file as a build artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
davidstaheli committed Sep 1, 2018
1 parent b6eb43e commit 1b7fb0d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions vsts-ci.Gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)'
5 changes: 2 additions & 3 deletions vsts-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)'

0 comments on commit 1b7fb0d

Please sign in to comment.