Jenkins: Fix command not found


In project config, you use default execution file on slave via ssh, you will get error “Fix command not found”


=> As default, jenkins will use default PATH environment variables of master, NOT slave. To solve it, go to Jenkins -> Nodes -> Select Node -> Config

  • Check to Environment variables in Node Properties section 
  • Add override environment path (notice case sensitive)
Name: Path
Value: /home/nhancv/:$PATH

Leave a Reply

Your email address will not be published.Required fields are marked *