Our organization is having alpha, qa in azure env and prod in aws.
To automate the pm2 process Jenkins was used.
While running pm2 list
command on AWS server using remote ssh it was working fine.
While running pm2 list
command on AZURE server using remote ssh it was not working.
Instead, it is showing pm2 command not found
. What is the problem? Can anyone tell the solution?
Thank you