#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
------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Buildbot-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/buildbot-commits