[Fuego] [PATCH 3/3] ftc: run_class: Set value for builddir variable
Tim.Bird at sony.com
Tim.Bird at sony.com
Tue Mar 20 22:51:48 UTC 2018
Looks good.
Applied.
-- Tim
> -----Original Message-----
> From: fuego-bounces at lists.linuxfoundation.org [mailto:fuego-
> bounces at lists.linuxfoundation.org] On Behalf Of Hoang Van Tuyen
> Sent: Tuesday, March 20, 2018 12:52 AM
> To: fuego at lists.linuxfoundation.org
> Subject: [Fuego] [PATCH 3/3] ftc: run_class: Set value for builddir variable
>
> The build.xml and log are stored in ${JENKINS_HOME}/jobs/${NODE_NAME}.
> ${TESTSPEC}.${TEST_NAME}/builds/${BUILD_NUMBER}. So, set the value of
> builddir to this.
>
> Signed-off-by: Hoang Van Tuyen <tuyen.hoangvan at toshiba-tsdv.com>
> ---
> engine/scripts/ftc | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/engine/scripts/ftc b/engine/scripts/ftc
> index e4fcfe8..9cd3ee4 100755
> --- a/engine/scripts/ftc
> +++ b/engine/scripts/ftc
> @@ -521,7 +521,7 @@ class run_class:
> self.host = host
> self.board = board
> self.rundir = rundir # place with run.json file and console log
> - self.builddir = "not set" # place with build.xml file and
> console log
> + self.builddir = conf.JENKINS_HOME + "/jobs/%s.%s.%s/builds/%s"
> % (board, spec, test_name, num)
> self.logpath = conf.FUEGO_RW+"/logs/%s/%s.%s.%s.%s" %
> (test_name, board, spec, num, num)
> self.num = num # jenkins local run number
> self.run_id = "%s-%s-%s-%s" % (test_name, spec, num, board)
> --
> 2.1.4
More information about the Fuego
mailing list