[Buildbot-commits] [Buildbot] #1964: If a shell script (.sh) has to be run from the master.cfg file , in which path should the script exist and what is the add step command that needs to be given in the master.cfg file?
Buildbot
nobody at buildbot.net
Tue May 17 13:36:08 UTC 2011
#1964: If a shell script (.sh) has to be run from the master.cfg file , in which
path should the script exist and what is the add step command that needs to
be given in the master.cfg file?
----------------------------+-------------------
Reporter: sanlokenpatidar | Owner:
Type: support-request | Status: new
Priority: major | Milestone: 0.8.+
Version: 0.8.3p1 | Keywords:
----------------------------+-------------------
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
--
Ticket URL: <http://trac.buildbot.net/ticket/1964>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
More information about the Commits
mailing list