Jenkins artifactory plugin doesnt work with spring dependency management plugin


(Tomas Zaleniakas) #1

Hi there. I want to use Jenkins with Jenkins artifactory plugin and override resolution repository from Jenkins. This is working fine until for single project build i applied spring.dependency-management plugin in gradle. Seems that spring.dependency-management is executed earlier when artifactory plugin added resolution repository.
Initially build script has nor repositories configured, otherwise Jenkins artifactory plugin cannot add resolution repository.
Same plugins applied and is working for multi-project build. spring.dependency-management is applied to child project, and it working as it should. Can i somehow override plugins execution order?