Solved. Misunderstood the meaning of 'Label' in Global Tool Configuration -> Custom tool installations and typed "test folder". This caused the problem. Read the description, left it blank and then it worked.
-- 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/d565f288-5dd9-4d08-b733-ebf7845a1001%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.