Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-67314

Active Choices groovy script not executing on slave node

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major Major
    • active-choices-plugin
    • None

      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 ?

            kinow Bruno P. Kinoshita
            loges Logesh S
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: