Closed joshua-alday closed 5 years ago
Okay, it seems this was a problem with firewall and network preview. I'm able to now publish my builds.
@joshua-alday how were you able to determine the issue was with firewall and virtual network settings on the ACR?
Hello, I've been bashing my face up against this all day, and I hate to say that I've not been able to work around this. I'm using the "Queue an ACR Quick Task" build step in a freestyle project. The credentials I've provided are MSI credentials defined on the VM in Azure. I know the credentials are fine, since I'm able to autocomplete the resource group and container registry. Here's the error log I'm getting.
`Started by user
[EnvInject] - Loading node environment variables.
Building in workspace /var/lib/jenkins/workspace/Java-Builder-Image-Build
using credential
I am able to do az acr login from both my workstation, and ssh'd into the jenkins vm. I'm able to do docker pull/push in this manner. However, when I try to get jenkins to use this build step, it always fails with this error. I've tried creating a completely new service principle, and that has not worked as well.
What more do I need to do to make sure that I'm able to push docker images into my acr using this plugin?