code: def pipeline_name(self):
          
          if 'pipeline_name' in self.data and self.data.pipeline_name:
              return self.data.get('pipeline_name')
          elif self.stage.pipeline is not None:
              return self.stage.pipeline.data.name
          else:
              return self.stage.data.pipeline_name
docs: Get pipeline name of current job instance.
  
          Because instantiating job instance could be performed in different ways and those return different results,
          we have to check where from to get name of the pipeline.
  
          :return: pipeline name.