You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need one help , I have jenkins installed in GCP server and also active choice parameter plugin installed to it
when I run below command in groovy section and when i suppose to build i should see list of images in that project but i am not getting list of gcp instance images when i go for build.
although service account permission has been already map
import groovy.json.JsonSlurper;
def cmd = "gcloud compute images list --project=mahendra --filter="creationTimestamp < -P6M""
def gi_images_json = cmd.execute()
def data = new JsonSlurper().parseText(gi_images_json.text)
def gi_images = [];
return gi_images.sort().reverse
The text was updated successfully, but these errors were encountered:
Hi Team,
I need one help , I have jenkins installed in GCP server and also active choice parameter plugin installed to it
when I run below command in groovy section and when i suppose to build i should see list of images in that project but i am not getting list of gcp instance images when i go for build.
although service account permission has been already map
import groovy.json.JsonSlurper;
def cmd = "gcloud compute images list --project=mahendra --filter="creationTimestamp < -P6M""
def gi_images_json = cmd.execute()
def data = new JsonSlurper().parseText(gi_images_json.text)
def gi_images = [];
return gi_images.sort().reverse
The text was updated successfully, but these errors were encountered: