Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
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
27 changes: 24 additions & 3 deletions eng/pipelines/templates/stages/archetype-java-release-batch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,12 @@ stages:

- job: PublishDocsMs
displayName: Docs.MS Release
condition: and(succeeded(), ne(variables['Skip.PublishDocs'], 'true'))
condition: >-
and(
succeeded(),
ne(variables['Skip.PublishDocs'], 'true'),
ne(variables['Build.Repository.Name'], 'Azure/azure-sdk-for-java-pr')
)
dependsOn: PublishDevFeedPackage

pool:
Expand Down Expand Up @@ -378,7 +383,12 @@ stages:

- job: PublishDocs
displayName: Publish Docs to GitHubIO Blob Storage
condition: and(succeeded(), ne(variables['Skip.PublishDocs'], 'true'))
condition: >-
and(
succeeded(),
ne(variables['Skip.PublishDocs'], 'true'),
ne(variables['Build.Repository.Name'], 'Azure/azure-sdk-for-java-pr')
)
dependsOn: PublishDevFeedPackage
pool:
name: $(WINDOWSPOOL)
Expand Down Expand Up @@ -461,7 +471,18 @@ stages:

- job: PublishDocsToNightlyBranch
dependsOn: PublishPackages
condition: and(succeeded(), or(eq(variables['SetDevVersion'], 'true'), and(eq(variables['Build.Reason'],'Schedule'), eq(variables['System.TeamProject'], 'internal'))))
condition: >-
and(
succeeded(),
or(
eq(variables['SetDevVersion'], 'true'),
and(
eq(variables['Build.Reason'],'Schedule'),
eq(variables['System.TeamProject'], 'internal')
)
),
ne(variables['Build.Repository.Name'], 'Azure/azure-sdk-for-java-pr')
)
pool:
name: $(LINUXPOOL)
image: $(LINUXVMIMAGE)
Expand Down
14 changes: 12 additions & 2 deletions eng/pipelines/templates/stages/archetype-java-release-patch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,12 @@ stages:

- job: PublishDocsMs
displayName: Docs.MS Release
condition: and(succeeded(), ne(variables['Skip.PublishDocs'], 'true'))
condition: >-
and(
succeeded(),
ne(variables['Skip.PublishDocs'], 'true'),
ne(variables['Build.Repository.Name'], 'Azure/azure-sdk-for-java-pr')
)
timeoutInMinutes: 180
dependsOn: PublishDevFeedPackage

Expand Down Expand Up @@ -274,7 +279,12 @@ stages:

- job: PublishDocs
displayName: Publish Docs to GitHubIO Blob Storage
condition: and(succeeded(), ne(variables['Skip.PublishDocs'], 'true'))
condition: >-
and(
succeeded(),
ne(variables['Skip.PublishDocs'], 'true'),
ne(variables['Build.Repository.Name'], 'Azure/azure-sdk-for-java-pr')
)
timeoutInMinutes: 120
dependsOn: PublishESRPPackage
variables:
Expand Down