Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Buckminster » using the target platform published by Jenkins job
using the target platform published by Jenkins job [message #905489] Thu, 30 August 2012 13:23 Go to next message
Lorenzo Bettini is currently offline Lorenzo Bettini
Messages: 1355
Registered: July 2009
Senior Member
Hi

I was trying to have two jobs in Jenkins for building headlessly with
Bucky: one for publishing the target platform and the other one for
actually doing the build.

Before this, I had already managed to get working single jobs building
my stuff, by having the job first resolving and materializing the target
platform and then performing the actual building, but I wanted to
separate the jobs.

I followed the instructions to publish the target platform as detailed
here
http://wiki.eclipse.org/Building_an_RCP_application_with_hudson_%28Buckminster%29#Building_a_Target_Platform
and here https://wiki.jenkins-ci.org/display/JENKINS/Buckminster+PlugIn

I have different projects where I materialize the target platform both with

importtargetdefinition -A my.site/My.target

and others with

resolve my.buckminster/projects-platform.cquery

and the target platform is acrhived and published successfully...

now in the second job I specified the Target Platform from the drop down
list in the Jenkins Job, however, when I run this job (starting from an
empty workspace), I get errors because during project resolution the
bundles and features which should be taken from the target platform are
searched using the rmap of my project:

ERROR [0013] : No suitable provider for component
org.eclipse.xsd:osgi.bundle/[2.6.0,3.0.0) was found in resourceMap

am I missing something?

Of course I changed the commands to run the second job in order NOT to
resolve the target platform because I assumed this was taken from the
published one, and the Jenkins job would automatically pass the target
platform, am I wrong?

thanks in advance
Lorenzo

--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
ICQ# lbetto, 16080134 (GNU/Linux User # 158233)
HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
http://www.myspace.com/supertrouperabba
BLOGS: http://tronprog.blogspot.com http://longlivemusic.blogspot.com
http://www.gnu.org/software/src-highlite
http://www.gnu.org/software/gengetopt
http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net
Re: using the target platform published by Jenkins job [message #905498 is a reply to message #905489] Thu, 30 August 2012 13:53 Go to previous message
Lorenzo Bettini is currently offline Lorenzo Bettini
Messages: 1355
Registered: July 2009
Senior Member
Sorry for the noise: looks like I'm experiencing this one

https://issues.jenkins-ci.org/browse/JENKINS-13045

switching to commands (instead of script) solves the problem (but I'd
prefer to use the script...)

cheers
Lorenzo

On 08/30/2012 03:23 PM, Lorenzo Bettini wrote:
> Hi
>
> I was trying to have two jobs in Jenkins for building headlessly with
> Bucky: one for publishing the target platform and the other one for
> actually doing the build.
>
> Before this, I had already managed to get working single jobs building
> my stuff, by having the job first resolving and materializing the target
> platform and then performing the actual building, but I wanted to
> separate the jobs.
>
> I followed the instructions to publish the target platform as detailed
> here
> http://wiki.eclipse.org/Building_an_RCP_application_with_hudson_%28Buckminster%29#Building_a_Target_Platform
> and here https://wiki.jenkins-ci.org/display/JENKINS/Buckminster+PlugIn
>
> I have different projects where I materialize the target platform both with
>
> importtargetdefinition -A my.site/My.target
>
> and others with
>
> resolve my.buckminster/projects-platform.cquery
>
> and the target platform is acrhived and published successfully...
>
> now in the second job I specified the Target Platform from the drop down
> list in the Jenkins Job, however, when I run this job (starting from an
> empty workspace), I get errors because during project resolution the
> bundles and features which should be taken from the target platform are
> searched using the rmap of my project:
>
> ERROR [0013] : No suitable provider for component
> org.eclipse.xsd:osgi.bundle/[2.6.0,3.0.0) was found in resourceMap
>
> am I missing something?
>
> Of course I changed the commands to run the second job in order NOT to
> resolve the target platform because I assumed this was taken from the
> published one, and the Jenkins job would automatically pass the target
> platform, am I wrong?
>
> thanks in advance
> Lorenzo
>


--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
ICQ# lbetto, 16080134 (GNU/Linux User # 158233)
HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
http://www.myspace.com/supertrouperabba
BLOGS: http://tronprog.blogspot.com http://longlivemusic.blogspot.com
http://www.gnu.org/software/src-highlite
http://www.gnu.org/software/gengetopt
http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net
Previous Topic:Athena-style Test results
Next Topic:No component named myproj.site is known to Buckminster when executing site.p2
Goto Forum:
  


Current Time: Fri Sep 19 22:01:00 GMT 2014

Powered by FUDForum. Page generated in 0.07439 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software