java groovy libraries are not executed on kubernetes slave pod

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

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Critical
    • Component/s: kubernetes-plugin
    • Environment:

      Hi all,

      we are executing our pipeline script on slave pod, which has some groovy libraries.
      def process = ['bash', '-c', cmd].execute()
      def file= new File( "test.txt" )

      even though the scripts are executed from slave pod, the groovy libraries seems to be working only in our master pod.

      Is there any plugin which takes care of groovy execution in kubernetes slave pod. If now, then why the groovy script libraries are working only in master pod??

       

      Thanks and Regards,

      Raghavi G. Kamat

            Assignee:
            Unassigned
            Reporter:
            Raghavi
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: