Windows Jenkins 'conan' is not recognized as an internal or external command

Windows Jenkins ‘conan’ is not recognized as an internal or external command

Typing conan in Git bash I can find conan,

I can also find conan in cmd

but not in Jenkins

Do this

Manage Jenkins

Configure System

Find the Environment Vairables checkboxand check it

Add Path for name (capitalization must match: ‘Path’ not ‘PATH’)

and

%PATH% value

Hit Save at the bottom

and your Jenkins should be able to find things on the PATH now

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store