The plant is called Juniperus communis.
Juniperus communis fruit (picture from the network)
Juniperus communis, also called Gua Piper, is mainly found in Liaoning, Shaanxi, Gansu, Yunnan, Guizhou area, often grows on cliffs or in the wild, and is now also planted artificially. The fruits and stems of Juniperus communis can be used as medicine and have high medicinal value.