Unanswered
Suppose I Use A Pipeline Decorator To Define A Pipeline:
hi PanickyMoth78
from within your function my_pipeline_function here is how to access the project and task names :
task = Task.current_task()
task_name = task.name
full_project_path = task.get_project_name()
project_name = full_project_path.split('/')[0]
Note that you could also use the full_project_path to get both project and task nametask_name = full_project_name.split('/')[-1]
175 Views
0
Answers
2 years ago
one year ago