In your case, it looks like the firefox binary is not installed in that particular agent. Therefore you need to prepare the context/configuration where that particular project/job/pipeline runs. The same setup as you do in your local environment.
-- 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/a917ea91-73cb-4491-bc44-3cb0241c4511%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.