SliTaz SliTaz Forum

You are not logged in.

#1 2011-05-17 15:27:37

sanlokenpatidar
Member
Registered: 2011-05-17
Posts: 1

If a shell script (.sh) has to be run from the master.cfg file , in which path should the script exi

If I give – f_pro4_full_periodic.addStep(shell.ShellCommand?(

name = "TriggerBuild?", command=[ "pro4_full_periodic/build/build/scripts/triggerBuild.sh" ] ))

It showed error - 'pro4_full_periodic' is not recognized as an internal or external command, operable program or batch file

if I give – f_pro4_full_periodic.addStep(shell.ShellCommand?(

name = "TriggerBuild?", command=[ "/pro4_full_periodic/build/build/scripts/triggerBuild.sh" ] ))

It showed error - The system cannot find the path specified.

If I give – f_pro4_full_periodic.addStep(shell.ShellCommand?(

name = "TriggerBuild?", command=[ "./pro4_full_periodic/build/build/scripts/triggerBuild.sh" ] ))

It showed error - '.' is not recognized as an internal or external command, operable program or batch file.

Some timed it showed in other case - '/' is not recognized as an internal or external command, operable program or batch file.

.sh file in slave machine and base directory is - 'C:\cygwin\home\buildbot\slave_pro4' .sh file directory (after creating the build) - /home/buildbot/slave_pro4/pro4_full_periodic/build/build/scripts/triggerBuild.sh

Suggest what path should i use to run sh file from master.cfg file

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.018 seconds, 7 queries executed - Memory usage: 1.53 MiB (Peak: 1.77 MiB) ]