Run scripts on MySQL database

26 views
Skip to first unread message

Faizan Javed

unread,
May 20, 2015, 4:43:07 AM5/20/15
to jenkins...@googlegroups.com
How do I run sql scripts on my MySQL database from external file in my Jenkins job?

Les Mikesell

unread,
May 20, 2015, 10:43:31 AM5/20/15
to jenkinsci-users
On Wed, May 20, 2015 at 3:43 AM, Faizan Javed <faixa...@gmail.com> wrote:
> How do I run sql scripts on my MySQL database from external file in my
> Jenkins job?

Use a shell script or batch file to do it the same way you would from
the command line. You have to make sure the executable you run and
the script file are accessible on the node running the job (locally
installed, over network share, or pulled into the workspace from your
version control system).

--
Les Mikesell
lesmi...@gmail.com
Reply all
Reply to author
Forward
0 new messages