You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Even if the vcsUrl property is specified in the pom.xml, the plugin uses the one from the local git repository. This is an issue with our build server (Bamboo) because of the way it handles git repository caching. When caching is enabled, the git repository origin remote will point to a file:// url which contains the path to the repository cache instead of the actual remote url.
To Reproduce
Clone a repository with a maven project that uses the Artifactory maven plugin. Put the following in the plugin configuration:
Run the build (mvn deploy) and look at the VCS tab on the build result page. The url will show the git remote url instead of whatever was specified in the vcsUrl tag.
Expected behavior
The vcsUrl configuration in the pom.xml should have priority over the remote url in the .git folder
Screenshots
Versions
Artifactory Maven plugin version: 3.4.0
Artifactory version: 7.35.2
Maven version: 3.6.3
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Describe the bug
Even if the vcsUrl property is specified in the pom.xml, the plugin uses the one from the local git repository. This is an issue with our build server (Bamboo) because of the way it handles git repository caching. When caching is enabled, the git repository origin remote will point to a file:// url which contains the path to the repository cache instead of the actual remote url.
To Reproduce
Clone a repository with a maven project that uses the Artifactory maven plugin. Put the following in the plugin configuration:
Run the build (mvn deploy) and look at the VCS tab on the build result page. The url will show the git remote url instead of whatever was specified in the vcsUrl tag.
Expected behavior
The vcsUrl configuration in the pom.xml should have priority over the remote url in the .git folder
Screenshots
Versions
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: