-
Couldn't load subscription status.
- Fork 30
Updating build-and-package.yml to include all Stages #257
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
Merged
Merged
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
404957f
added the maven preview and release stages to buildAndPackage.yml as …
ramsessanchez e95e45b
add stage dependencies to release stages
ramsessanchez 517a7b8
Remove 'stage' suffix from Stage names.
ramsessanchez 76f61dc
add conditions to the maven release stage
ramsessanchez 269c830
instances of /_msgraph-sdk-java-core build and package/drop changed t…
ramsessanchez ad182d5
added download-artifacts template, modified publish artifacts, both n…
ramsessanchez a2b6f32
added validation request for release stage
ramsessanchez 4fe5d40
Update buildAndPackage.yml
ramsessanchez 8974990
Update buildAndPackage.yml for Azure Pipelines
ramsessanchez 425987f
using 'publish' keyword to implicitly call publishPipelineArtifact task
ramsessanchez 543f75c
removed implicit streps included in deployment-job
ramsessanchez 1705e2c
propose to put maven and github release into a single stage
ramsessanchez 3b2d368
Update buildAndPackage.yml
ramsessanchez 260fe8c
Update buildAndPackage.yml for Azure Pipelines
ramsessanchez fcbfa0c
Update buildAndPackage.yml
ramsessanchez 2277888
removed 'stage' suffix from folder names
ramsessanchez 1ab2c15
file path changes to highlight suffix removal
ramsessanchez 634c392
template parameters for secure-files.yml
ramsessanchez f9d2941
parameter for copy-and-build, now a single file
ramsessanchez ba66e93
preview stage now uses a deployment job, download-artifacts.yml and c…
ramsessanchez 6901b5c
github connection now a parameter, removed git-release folder since i…
ramsessanchez 12a22f0
param update
ramsessanchez 33a1c63
Update version-and-release.yml
ramsessanchez 21c183b
Update secure-files.yml
ramsessanchez 12917ea
updated paths in prValidate.yml which were preventing pipeline from r…
ramsessanchez e12d853
- removes obsolete PR validate pipeline
baywet File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| parameters: | ||
| - name: task | ||
| type: string | ||
| default: '' | ||
|
|
||
| steps: | ||
| - task: CopyFiles@2 | ||
| inputs: | ||
| SourceFolder: '$(Agent.TempDirectory)' | ||
| Contents: '**' | ||
| TargetFolder: '$(DROP_PATH)/' | ||
|
|
||
| - task: Gradle@2 | ||
| inputs: | ||
| gradleWrapperFile: '$(DROP_PATH)/gradlew' | ||
| workingDirectory: '$(DROP_PATH)' | ||
| options: '-x jar -x javadoc -x javadocJar -x compileJava -x processResources -x classes -x sourceJar' | ||
| tasks: ${{ parameters.task }} | ||
| publishJUnitResults: true | ||
| testResultsFiles: '**/TEST-*.xml' | ||
| javaHomeOption: 'JDKVersion' | ||
| sonarQubeRunAnalysis: false | ||
| spotBugsAnalysis: false |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,18 +1,29 @@ | ||
| parameters: | ||
| - name: stageID | ||
| type: string | ||
| default: '' | ||
|
|
||
| steps: | ||
| - task: DownloadSecureFile@1 | ||
| inputs: | ||
| secureFile: 'local.properties' | ||
| retryCount: '5' | ||
|
|
||
| - task: DownloadSecureFile@1 | ||
| inputs: | ||
| secureFile: 'secring.gpg' | ||
| - ${{ if or(eq(parameters.stageID, 'build'), eq(parameters.stageID, 'release') }}: | ||
| - task: DownloadSecureFile@1 | ||
| inputs: | ||
| secureFile: 'secring.gpg' | ||
| retryCount: '5' | ||
|
|
||
| - task: DownloadSecureFile@1 | ||
| inputs: | ||
| secureFile: 'secring.gpg.lock' | ||
| retryCount: '5' | ||
|
|
||
| - task: DownloadSecureFile@1 | ||
| inputs: | ||
| secureFile: 'secring.gpg.lock' | ||
| - ${{ if eq(parameters.stageID, 'build') }}: | ||
| - task: CopyFiles@2 | ||
| inputs: | ||
| SourceFolder: '$(Agent.TempDirectory)' | ||
| Contents: '**' | ||
| TargetFolder: '$(System.DefaultWorkingDirectory)' | ||
|
|
||
| - task: CopyFiles@2 | ||
| inputs: | ||
| SourceFolder: '$(Agent.TempDirectory)' | ||
| Contents: '**' | ||
| TargetFolder: '$(System.DefaultWorkingDirectory)' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| parameters: | ||
| - name: gitConnection | ||
| type: string | ||
| default: '' | ||
|
|
||
| steps: | ||
| - task: PowerShell@2 | ||
| inputs: | ||
| filePath: '$(DROP_PATH)/Scripts/getLatestVersion.ps1' | ||
| arguments: '-propertiesPath "$(PROPERTIES_PATH)"' | ||
|
|
||
| - task: GitHubRelease@1 | ||
| inputs: | ||
| gitHubConnection: ${{ parameters.gitConnection }} | ||
| repositoryName: '$(Build.Repository.Name)' | ||
| action: 'create' | ||
| target: '$(Build.SourceVersion)' | ||
| tagSource: 'userSpecifiedTag' | ||
| tag: '$(VERSION_STRING)' | ||
| assets: | | ||
| !**/** | ||
| $(Build.ArtifactStagingDirectory)/* | ||
| changeLogCompareToRelease: 'lastFullRelease' | ||
| changeLogType: 'commitBased' |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.