I can do a Gradle build within Jenkins if my build.gradle file applies the
artifactory plugin explicitly. I check the  "Project uses the Artifactory
Gradle Plugin" box in Jenkins in the Artifactory Configuration section. This
publishes successfully to artifactory.

However if my build.gradle file does not apply the artifactory plugin and I
try to let the Jenkins Artifactory plugin apply the artifactory plugin into
my gradle build, my gradle build dies with this error:  

"Could not find method getAll() for arguments [] on repository container."  
(Partial stack trace below.)

I can't find any info on this error, and I'm stuck trying to solve this. 
Any help would be greatly appreciated.

Thanks,
Richard


Caused by: org.gradle.api.internal.MissingMethodException: Could not find
method getAll() for arguments [] on repository container.
        at
org.gradle.api.internal.AbstractDynamicObject.methodMissingException(AbstractDynamicObject.java:60)
        at
org.gradle.api.internal.AbstractDynamicObject.invokeMethod(AbstractDynamicObject.java:56)
        at
org.gradle.api.internal.CompositeDynamicObject.invokeMethod(CompositeDynamicObject.java:112)
        at
org.gradle.api.internal.artifacts.dsl.DefaultRepositoryHandler_Decorated.invokeMethod(Unknown
Source)
        at
org.jfrog.gradle.plugin.artifactory.ArtifactoryPlugin$ProjectEvaluatedBuildListener.defineResolvers(ArtifactoryPlugin.groovy:103)


--
View this message in context: 
http://forums.jfrog.org/Artifactory-Plugin-for-Jenkins-using-Gradle-tp7565892.html
Sent from the Artifactory - Users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Reply via email to