From 559c5aae639f46e59d0dc28e49dd0c4fa6146132 Mon Sep 17 00:00:00 2001 From: Ruslan Lutsenko Date: Thu, 2 Feb 2012 15:34:08 +0100 Subject: [PATCH] return filepath --- jenkinsapi/artifact.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jenkinsapi/artifact.py b/jenkinsapi/artifact.py index 066485b..84364a8 100644 --- a/jenkinsapi/artifact.py +++ b/jenkinsapi/artifact.py @@ -96,7 +96,7 @@ class Artifact(object): assert os.path.exists( dirpath ) assert os.path.isdir( dirpath ) outputfilepath = os.path.join( dirpath, self.filename ) - self.save( outputfilepath ) + return self.save( outputfilepath ) def __repr__( self ): -- 2.34.1