Active Choices groovy script not executing on slave node

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      In declarative pipeline script in which I am using active-choices-plugin with groovy script to fetch some value using aws cli, this aws cli will only work from slave node, master don't have access, when I try to run this job it active-choices-plugin is only executing in master node not in slave node 

       
      pipeline {
          agent
      {
          node
         

      {         label "slave1"     }

      Please help how to achieve this ? how to make active choices parameter to run in slave instead of master ?

            Assignee:
            Bruno P. Kinoshita
            Reporter:
            Logesh S
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: