Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added .pipelines for azure pipelines #26

Open
wants to merge 31 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
publish artifacts modified
Gundlapalle Nishanth (MS/ESW-TM-XC) committed Feb 26, 2024

Unverified

No user is associated with the committer email.
commit ae478893861ed016154f9aeeff325caa1c046dd7
9 changes: 8 additions & 1 deletion .pipelines/lib/app/jobs/build/build.yml
Original file line number Diff line number Diff line change
@@ -10,8 +10,15 @@ steps:
mvn clean install -Dmaven.test.skip=true
displayName: Build the code

- task: CopyFiles@2
displayName: Copy Artifacts from local to staging
inputs:
SourceFolder: $(Build.Repository.LocalPath)/target
Contents: '*.war'
TargetFolder: $(Build.ArtifactStagingDirectory)/${{ parameters.VARIANT.name }}

- ${{ if eq(parameters.PUBLISH, 'True') }}:
- publish: '$(Build.ArtifactoryStagingDirectory)/target/*.war'
- publish: '$(Build.ArtifactoryStagingDirectory)/${{ parameters.VARIANT.name }}'
artifact: BUILD_${{ parameters.APP.name }}
displayName: Publish Artifacts ${{ parameters.APP.name }}