Hi Mark, 

I'm in the same boat as you are - or at least in a very similar looking
craft. I've spent a good 6 hours trying to get this to work and despite
getting a little bit further, I still haven't been able to use the artifact
plug-in with milestone > 3... which is a shame because there are some bug
fixes in 5/6 which I need in order to be able to run parallel jenkins
builds.

That said, I was able to resolve the snapshot by adding jfrogs snapshot
repository to my local artifactory and then adding the repository to my
virtual repository. I used this demo to get started: 
http://www.youtube.com/watch?v=zhhCD5qtocg (slick!)

So now gradle successfully downloads the artifact...

    jburbridge@jburbridge-dev1:~/dev/myproject$ gradle projects
    Download
http://localhost:8081/artifactory/gradle/org/jfrog/buildinfo/build-info-extractor-gradle/2.0.x-SNAPSHOT/build-info-extractor-gradle-2.0.x-20111123.143146-11.pom
    ... and so on... 

Only I'm now stuck on a different issue. It looks like the current
artifactory plug-in snapshot doesn't work with gradle milestone > 3. I've
tried milestone 5 and 6 and both throw the same exception when they hit the
line that imports the plug-in (apply plugin: 'artifactory').

    FAILURE: Build failed with an exception.
    
    * Where:
    Build file '/home/jburbridge/dev/myproject/build.gradle' line: 15

    * What went wrong:
    A problem occurred evaluating root project 'myproject'.
    Cause: org/codehaus/groovy/runtime/BytecodeInterface8

    * Try:
    Run with --stacktrace option to get the stack trace. Run with --info or
--debug option to get more log output.

    BUILD FAILED

I haven't done much digging beyond this point, but the error message
suggests a groovy runtime issue. There's some evidence on the STS forums to
suggest this has to do with incompatible groovy versions. Fun stuff... :)
I'm going to keep digging.

Happy gobble gobble,
JB


--
View this message in context: 
http://forums.jfrog.org/Publishing-Build-Info-via-Gradle-post-milestone-3-tp7028576p7032580.html
Sent from the Artifactory - Users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Reply via email to