简体   繁体   中英

How to determine the Publish source for ADFv2?

When using a Git-backed ADFv2, I'm trying to detect when a user publishes directly to the Factory vs when a user publishes to the Factory via the Git collaboration branch.

I've tried looking at the Activity Log, but I can't distinguish between events from a Git Publish vs events from a Direct Publish.

I see that this information is at least visible in the UI. Is this persisted anywhere? Is there any way to obtain this message?

在此输入图像描述

Is there another way to do this?

According to my observation, the messages don't persisted anywhere.It is just temporarily stored in the browser's cache, and disappears once you refreshes it.

在此输入图像描述

In the ADF active log,you only could see the epitomize of operations.

缩影

I supposed that you only can distinguish between events from a Git Publish vs events from a Direct Publish in the Dev ops page.

You could see the direct publish will leave the comments in the commits list.

在此输入图像描述

And if you release any updates in the Git publish, you could remark some prefix,like --from git--- .

在此输入图像描述

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM