Skip to content

Commit 4663649

Browse files
[patch] add pipeline name ags
1 parent eceff31 commit 4663649

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

bin/mas-devops-notify-slack

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -386,10 +386,10 @@ if __name__ == "__main__":
386386
elif args.action == "ocp-provision-roks":
387387
notifyProvisionRoks(channelList, args.rc, args.msg)
388388
elif args.action == "pipeline-start":
389-
notifyPipelineStart(channelList, args.instance_id)
389+
notifyPipelineStart(channelList, args.instance_id, args.pipeline_name)
390390
elif args.action == "ansible-start":
391-
notifyAnsibleStart(channelList, args.task_name, args.instance_id)
391+
notifyAnsibleStart(channelList, args.task_name, args.instance_id, args.pipeline_name)
392392
elif args.action == "ansible-complete":
393-
notifyAnsibleComplete(channelList, args.rc, args.task_name, args.instance_id)
393+
notifyAnsibleComplete(channelList, args.rc, args.task_name, args.instance_id, args.pipeline_name)
394394
elif args.action == "pipeline-complete":
395-
notifyPipelineComplete(channelList, args.rc, args.instance_id)
395+
notifyPipelineComplete(channelList, args.rc, args.instance_id, args.pipeline_name)

0 commit comments

Comments
 (0)