I'm running a simple pipeline code to run batch script with following -
node('node-ip') {
parallel 'Checking Database': {
script {
bat 'dir'
}
}
}
but this results into following error -
'cmd' is not recognized as an internal or external command, operable program or batch file.
Can you please help to understand what could be wrong here?