When I used mysqldump command in Jenkinsfile of Gogs (git) to backup my database, I got an error in Jenkins build says that mysqldump not found, even I build first mysql container. Anyone can help ?
Thanks,
Mahmoud
When I used mysqldump command in Jenkinsfile of Gogs (git) to backup my database, I got an error in Jenkins build says that mysqldump not found, even I build first mysql container. Anyone can help ?
Thanks,
Mahmoud
Do you have mysql client on your jenkins server?
Maybe when you builded your projec with jenkins it not foud a mysqldump in your jenkins server, then you will need to install the mysql client to use mysqldump, to install mysql client you can use these line:
sudo apt-get install mysql-client-5.1