jenkinsci / azure-credentials-plugin

Jenkins Azure Credentials plugin
https://plugins.jenkins.io/azure-credentials/
MIT License
10 stars 27 forks source link

Update dependencies to follow AZURE_GERMANY deprecation #166

Closed pzygielo closed 1 year ago

pzygielo commented 1 year ago

Jenkins and plugins versions report

Environment ```text Jenkins: 2.388 OS: Linux - 6.1.7-100.fc36.x86_64 --- azure-credentials:242.vb_f9c4fa_6b_2b_6 azure-sdk:118.v43f74dd9ca_dc azure-vm-agents:822.v3a18fc3d2de1 ```

What Operating System are you using (both controller, and any agents involved in the problem)?

As above

Reproduction steps

  1. manage nodes and clouds
  2. configure clouds
  3. add new cloud -> azure vm agents
  4. azure credentials -> add -> kind: azure service principal
  5. azure environment -> Azure Germany
  6. verify service principal

Expected Results

Not the actual result.

Actual Results

browser:

The provided credentials are not valid: reactor.core.Exceptions$ReactiveException: io.netty.channel.AbstractChannel$AnnotatedNoRouteToHostException: null: login.microsoftonline.de/51.5.145.123:443 

log:

7-Jan-2023 11:37:27.365 SEVERE [Thread-22] com.azure.core.util.logging.ClientLogger.performDeferredLogging Azure Identity => ERROR in getToken() call for scopes [https://management.core.cloudapi.de//.default]: reactor.core.Exceptions$ReactiveException: io.netty.channel.AbstractChannel$AnnotatedNoRouteToHostException: null: login.microsoftonline.de/51.4.145.173:443

Anything else?

timja commented 1 year ago

You interested in submitting a pull request?

pzygielo commented 1 year ago

You interested in submitting a pull request?

I'll be happy to try. Thanks for checking.