Ответ 1
В идеале вы должны использовать SSH для аутентификации при выполнении выпуска. В этом случае вы будете использовать следующую конфигурацию:
<scm>
<connection>scm:git:ssh://[email protected]/<username>/<repo>.git</connection>
<developerConnection>scm:git:ssh://[email protected]/<username>/<repo>.git</developerConnection>
<url>https://bitbucket.org/<username>/<repo>.git</url>
</scm>
Вы также можете посмотреть этот .