We characterise hyperconvexity in terms of Jensen measures with barycentre at a boundary point. We also give an explicit formula for the pluricomplex Green function in the Hartogs' triangle. Finally we study the behaviour of the pluricomplex Green function $g(z,w)$ as the pole $w$ tends to a boundary point.