return filepath
authorRuslan Lutsenko <ruslan.lutcenko@gmail.com>
Thu, 2 Feb 2012 14:34:08 +0000 (15:34 +0100)
committerRuslan Lutsenko <ruslan.lutcenko@gmail.com>
Thu, 2 Feb 2012 14:34:08 +0000 (15:34 +0100)
jenkinsapi/artifact.py

index 066485b6bfd6ec8f48573865e16948017e7430dd..84364a80e43e4197841b4d76dd1552eadacd966f 100644 (file)
@@ -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 ):