def run(self):
        """
        fetch artefacts
        """
        source_path = self.workflow.source.path
        cur_dir = os.getcwd()
        os.chdir(source_path)
        try:
            subprocess.check_call(self.command.split())
        finally:
            os.chdir(cur_dir)
def run ( self ) : source_path = self . workflow . source . path cur_dir = os . getcwd ( ) os . chdir ( source_path ) try : subprocess . check_call ( self . command . split ( ) ) finally : os . chdir ( cur_dir )
fetch artefacts