[jbosstools-issues] [JBoss JIRA] (JBIDE-20151) Tweak jbosstools-promote job to allow omission of core

Nick Boldt (JIRA) issues at jboss.org
Thu Jun 25 10:51:05 EDT 2015


    [ https://issues.jboss.org/browse/JBIDE-20151?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13083859#comment-13083859 ] 

Nick Boldt commented on JBIDE-20151:
------------------------------------

I have a better idea. I hope you'll like it.

Instead of using the obsolete/deprecated promote.sh script, wrapped by the jbosstools-promote job, use this NEW job:

https://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/jbosstools-rsync

which wraps the current rsync.sh [0] script.

[0] https://github.com/jbosstools/jbosstools-build-ci/blob/jbosstools-4.3.x/publish/rsync.sh

Please note [1]:

!http://static.comicvine.com/uploads/square_small/5/52246/1676758-spidey_507.jpg!
-- [1] http://static.comicvine.com/uploads/square_small/5/52246/1676758-spidey_507.jpg

Please use it wisely, and do NOT use it for wacky and inconsistent paths [2], [3].

[2] https://github.com/jboss-reddeer/reddeer/issues/1111
[3] https://github.com/jboss-reddeer/reddeer/pull/1110

> Tweak jbosstools-promote job to allow omission of core
> ------------------------------------------------------
>
>                 Key: JBIDE-20151
>                 URL: https://issues.jboss.org/browse/JBIDE-20151
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: build
>            Reporter: Martin Malina
>            Assignee: Nick Boldt
>
> As discussed previously via email, I would like a small change to the jbosstools-promote job [1].
> We publish RedDeer to urls such as:
> http://download.jboss.org/jbosstools/updates/development/luna/core/reddeer/0.8.0.M1/
> http://download.jboss.org/jbosstools/updates/stable/luna/core/reddeer/0.7.0/
> The job currently supports having NONE for luna/mars. But there is no way to omit the "core" part. For us it really has no meaning, and the simpler the url the better, so it would be nice if this could be empty.
> This most probably just requires something similar to this:
> {code}
> if [[ ${TARGET_PLATFORM} == "NONE" ]]; then TARGET_PLATFORM=""; fi
> {code}
> in https://github.com/jbosstools/jbosstools-build-ci/blob/master/publish/promote.sh#L71
> And then a new option for NONE for the PARENT_FOLDER parameter in the jenkins job.
> If you agree this is fine, I can make it happen (create PR for jbosstools-build-ci and update the job).
> [1] https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/DevStudio/view/DevStudio_Master/job/jbosstools-promote/



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the jbosstools-issues mailing list