-
Notifications
You must be signed in to change notification settings - Fork 160
Teamcity plugin no longer honors plugin-sourced credentials. #572
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I just upgraded the Teamcity Artifactory plugin to 2.9.1 and got the same result. |
@DanielJRutledge Thanks for reporting this, we are working on a fix right now. As a workaround, If possible, downgrade the extractor for now. |
One clarification following my previous comment, you can downgrade your
|
Sounds good; downgrading is an option, but with hundreds of repositories downgrading on a bad release isn't really an option. |
@DanielJRutledge - |
@DanielJRutledge, |
@Or-Geva We're back in business. Was the Teamcity plugin using the "artifactory." prefixed properties? What about the other CI plugins? |
Thanks for the feedback @DanielJRutledge! |
Describe the bug
Teamcity plugin is no longer able to publish gradle artifacts with the Project uses Artifactory Plugin" box checked. It appears that the Teamcity builds are no longer honoring the credentials stored in the plugin and using those stored in the artifactory block of the build.gradle file instead.
To Reproduce
Define a build which uses the artifactory gradle plugin and publishes some artifacts using the artifactory gradle plugin. Define a Teamcity build and publish using the Teamcity artifactory plugin with the "Project uses Artifactory Plugin" box checked.
Sample build.gradle block:
This intended for local use; the publish credentials are supposed to be sourced from the Teamcity plugin. Until this morning, Teamcity did so, but now it is attempting to publish without any credentials according to the build.gradle file.
Expected behavior
We would expect a successful publish, provided the correct credentials are supplied to the agent.
Screenshots

Note that we currently have the "Project uses Artifactory Plugin" box checked in the Teamcity Artifactory plugin. We would expected the credentials present in the artifactory block of the build.gradle file to be overriden, but as of the latest gradle artifactory plugin release, they are not.
Versions
The text was updated successfully, but these errors were encountered: