diff --git a/.azure-pipelines/vscode-java-test-ci.yml b/.azure-pipelines/vscode-java-test-ci.yml index 534d4ecc..b28d3bc2 100644 --- a/.azure-pipelines/vscode-java-test-ci.yml +++ b/.azure-pipelines/vscode-java-test-ci.yml @@ -58,6 +58,10 @@ extends: displayName: npm run lint - script: npm run build-plugin displayName: npm run build-plugin + # The JDT LS snapshot p2 site has no mirrors, and Tycho 4.0.5 + # does not retry a direct connection reset. A task retry reuses + # the Maven/p2 cache and fetches only the missing artifact. + retryCountOnTaskFailure: 2 # System.AccessToken is a secret, and Azure Pipelines does not export secret # variables to the environment -- not even through a variable that merely # references one. It is mapped here, on the step that actually runs Maven, diff --git a/.azure-pipelines/vscode-java-test-nightly.yml b/.azure-pipelines/vscode-java-test-nightly.yml index 7cd382e9..67843271 100644 --- a/.azure-pipelines/vscode-java-test-nightly.yml +++ b/.azure-pipelines/vscode-java-test-nightly.yml @@ -74,6 +74,10 @@ extends: displayName: npm run lint - script: npm run build-plugin displayName: npm run build-plugin + # The JDT LS snapshot p2 site has no mirrors, and Tycho 4.0.5 + # does not retry a direct connection reset. A task retry reuses + # the Maven/p2 cache and fetches only the missing artifact. + retryCountOnTaskFailure: 2 # System.AccessToken is a secret, and Azure Pipelines does not export secret # variables to the environment -- not even through a variable that merely # references one. It is mapped here, on the step that actually runs Maven, diff --git a/.azure-pipelines/vscode-java-test-rc.yml b/.azure-pipelines/vscode-java-test-rc.yml index 5c2237b2..6a0ba13b 100644 --- a/.azure-pipelines/vscode-java-test-rc.yml +++ b/.azure-pipelines/vscode-java-test-rc.yml @@ -69,6 +69,10 @@ extends: displayName: npm run lint - script: npm run build-plugin displayName: npm run build-plugin + # The JDT LS snapshot p2 site has no mirrors, and Tycho 4.0.5 + # does not retry a direct connection reset. A task retry reuses + # the Maven/p2 cache and fetches only the missing artifact. + retryCountOnTaskFailure: 2 # System.AccessToken is a secret, and Azure Pipelines does not export secret # variables to the environment -- not even through a variable that merely # references one. It is mapped here, on the step that actually runs Maven,