[jbosstools-issues] [JBoss JIRA] (JBDS-2761) generate content in staging/_composite_/core/{trunk, 4.1.kepler} based on new builds/staging/{JOB_NAME}/{BUILD_ID_N} and builds/staging/{JOB_NAME}/{BUILD_ID_N-1}

Nick Boldt (JIRA) jira-events at lists.jboss.org
Wed Sep 11 15:09:03 EDT 2013


Nick Boldt created JBDS-2761:
--------------------------------

             Summary: generate content in staging/_composite_/core/{trunk,4.1.kepler} based on new builds/staging/{JOB_NAME}/{BUILD_ID_N} and builds/staging/{JOB_NAME}/{BUILD_ID_N-1}
                 Key: JBDS-2761
                 URL: https://issues.jboss.org/browse/JBDS-2761
             Project: Developer Studio (JBoss Developer Studio)
          Issue Type: Sub-task
      Security Level: Public (Everyone can see)
          Components: build
    Affects Versions: 7.1.0.Alpha1
            Reporter: Nick Boldt
            Assignee: Nick Boldt
             Fix For: 7.1.0.Alpha2


Because the content in builds/staging/\{JOB_NAME}/all/repo/ and builds/staging.previous/\{JOB_NAME}/all/repo/ is moving to builds/staging/\{JOB_NAME}/\{BUILD_ID_N} and builds/staging/\{JOB_NAME}/\{BUILD_ID_N-1}, we need to generate a list of matching build URLs for inclusion in the composite*.xml files, perhaps based on a template that's stored in github (to define which projects to include).

Parameters to the generation would need to be:

a) template
b) number of builds per project to include (1, for stable_branch or 2, for trunk)

Constraints:

* Need to ensure that the generated files are always fresher than anything pulled from github via rsync, so templates should not be called "compositeContent.xml" but rather "compositeContent.template.xml"

* Need to be able to run this regeneration as a Jenkins job, perhaps as the first step in https://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/jbosstools-composite-install_41/ and https://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/jbosstools-composite-install_master/

Worries:

* What happens if the regen happens and then a jbosstools-cleanup.sh fires minutes later, wiping out that N-1 build? Does jbosstools-cleaup.sh need to regen these files too?



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list