Errors while trying to use Google Compute Engine plugin to dynamically provision VMs

Hello and welcome to the community, @mkjkec2005! :wave:

Looks like you’re running into the invalid_grant: account not found error. This typically pops up when there’s a hiccup with the OAuth2 credentials that the Google Compute Engine (GCE) plugin uses to connect with Google Cloud. Here are some steps you might want to follow to sort this out:

  1. Verify Service Account Credentials: Double-check that the JSON key file for your service account is set up correctly and that Jenkins can access it.
  2. Check Service Account Permissions: Confirm that your service account has all the necessary permissions to create and manage instances on Google Cloud.
  3. Re-authenticate the Service Account: Occasionally, a fresh authentication for your service account does the trick in clearing up issues like this.

Also, I noticed that the Jenkins version you’re using (2.452.3) is a bit on the older side. When you have a moment, you might want to consider upgrading to a more recent LTS version to keep things smooth and secure.