<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 05/31/2013 10:48 AM, Lars Heinemann
wrote:<br>
</div>
<blockquote
cite="mid:5D505D56-8F97-4744-A043-F9E093D15296@redhat.com"
type="cite">1. I set up a Jenkins job already (<a
moz-do-not-send="true"
href="https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/SOA-Team/view/Fuse_6/job/Fuse-Tools/">https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/SOA-Team/view/Fuse_6/job/Fuse-Tools/</a>)
and used the SwitchYard Eclipse Tools
<div>job as template. So far all is fine and the project builds
but I saw that my update site repository zip file has a
different naming than for example SwitchYard Tools where it</div>
<div>is named like "site-assembly.zip". How can I change the name
of the created zip file?</div>
</blockquote>
site-assembly.zip is what you get when you use the deprecated Tycho
type "eclipse-update-site". repository.zip is what you get when you
use the "eclipse-repository" packaging type. It's better to have
repository.zip.<br>
You should update your scripts and Switchyard stuff to use
"eclipse-repository" and repository.zip.<br>
<br>
<blockquote
cite="mid:5D505D56-8F97-4744-A043-F9E093D15296@redhat.com"
type="cite">
<div>2. The SwitchYard Tools job is calling a shell script after
the Maven build is finished. You pull some script file from a
remote location and execute it locally at the Jenkins job.</div>
<div>This script seems to do the update site deployment or at
least some preparations (haven't fully examined the script) but
it seems to be a general script which is used for </div>
<div>more than one project. (btw. this script assumes that the
update site zip file is named like "site-assembly.zip" if I
understood it correctly)</div>
<div>The question is now if I can also call that script in our
Jenkins job. Maybe somebody could explain a bit more detailed
what exactly is done by that script and to check with me</div>
<div>if that script can be used for Fuse Tools as well.</div>
</blockquote>
Do you really need this script? If all you need is to publish the
update site, simply use a scp or a rsync command. Target destination
would be something like filemgmt.jboss.org:downloads_htdocs/fuse/...<br>
Later, you can change your mind if you have a good reason to use
this specific script.<br>
<br>
<blockquote
cite="mid:5D505D56-8F97-4744-A043-F9E093D15296@redhat.com"
type="cite">
<div>3. I saw that the SwitchYard Tools Jenkins job triggers
another job after it is finished. (<a moz-do-not-send="true"
href="https://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/SwitchYard-Tools-publish/">https://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/SwitchYard-Tools-publish/</a>)</div>
</blockquote>
I would say that you don't need another job to publish. It's easier
to do it as part of you build job.<br>
Later, you can change your mind if you have a good reason to have
another job.<br>
<br>
HTH<br>
<div class="moz-signature">-- <br>
Mickael Istria<br>
Eclipse developer at <a href="http://www.jboss.org/tools">JBoss,
by Red Hat</a><br>
<a href="http://mickaelistria.wordpress.com">My blog</a> - <a
href="http://twitter.com/mickaelistria">My Tweets</a></div>
</body>
</html>