From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Volker Groß
> Ok, it seems that the following line is the problem: > > publish_ssh.removeHostConfiguration(host[0]) > > After commenting it out, the job runs perfectly using "Execute system Groovy > script". You might need to go into Manage Jenkins -> In-process Script Approval and approve the method. HTH... Dirk -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to mailto:jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://urldefense.proofpoint.com/v2/url?u=https-3A__groups.google.com_d_msgid_jenkinsci-2Dusers_8dc8643a-2Dda74-2D45dc-2D8714-2D9baaf47ecb98-2540googlegroups.com-3Futm-5Fmedium-3Demail-26utm-5Fsource-3Dfooter&d=DwMFaQ&c=ZgVRmm3mf2P1-XDAyDsu4A&r=TsKycyisPP_6FVCeETRooIdY_8hdAsXoxwbvHso_TaI&m=uP6G3jxbaKTH_YK03ZaG2TZhQFdiFzO9Cqd4M8-XDqI&s=6TigJFccIzcyDjv24SEJp0zX-TpdaDlPhd6JRVNKmks&e=. For more options, visit https://urldefense.proofpoint.com/v2/url?u=https-3A__groups.google.com_d_optout&d=DwMFaQ&c=ZgVRmm3mf2P1-XDAyDsu4A&r=TsKycyisPP_6FVCeETRooIdY_8hdAsXoxwbvHso_TaI&m=uP6G3jxbaKTH_YK03ZaG2TZhQFdiFzO9Cqd4M8-XDqI&s=xA1ozapx1IJhMQXfv4ZmzAeJmpcg4Syi5-J-msJ3BB8&e=. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/SN6PR15MB24164A9F26B21BC1E5F24BE8AABB0%40SN6PR15MB2416.namprd15.prod.outlook.com. For more options, visit https://groups.google.com/d/optout.