4 Replies Latest reply on Jul 31, 2008 4:08 AM by thomas.diesler

    applying the hudson jobs in the sources

    tom.baeyens

      0) do you know any docs that explain the schema of the hudson configuration files ? or do you create them through the web user interface configure page and then copy them from the hudson instance to the source repository ?

      1) what do we have to get the hudson jobs defined in the sources configured in an existing hudson instance (like our QA lab)

      i assume the ant.properties.example and the build.xml has something to do with it.

      * can that be applied to a running hudson instance ?

      * can those targets be applied to a hudson instance that has other jobs (like in our QA lab) ?

      * do you envision an automatic update mechanism that synchronizes the hudson configurations in the sources to the hudson installation ?


      2) do you know if it is possible to share this configuration between Bull and JBoss. we would like to have all job configurations in svn, but then Bull and JBoss would each only execute a subset of those configurations on their own QA boxes.

        • 1. Re: applying the hudson jobs in the sources
          tom.baeyens

          Just for my reference, this topic is related to jira issue http://jira.jboss.org/jira/browse/JBPM-1412

          • 2. Re: applying the hudson jobs in the sources
            thomas.diesler

             


            0) do you know any docs that explain the schema of the hudson configuration files ? or do you create them through the web user interface configure page and then copy them from the hudson instance to the source repository ?


            The latter. The copies are then parametrized using ant filters.


            1) what do we have to get the hudson jobs defined in the sources configured in an existing hudson instance (like our QA lab)


            Hudson instances should not get modified through the web interface.
            ant hudson-setup
            


            run by a QA engineer should be the only way to setup the QA environment for any given version - otherwise the QA is not guarantied to be in sync with the source.


            * can that be applied to a running hudson instance ?

            * can those targets be applied to a hudson instance that has other jobs (like in our QA lab) ?

            * do you envision an automatic update mechanism that synchronizes the hudson configurations in the sources to the hudson installation ?


            no, see above


            2) do you know if it is possible to share this configuration between Bull and JBoss. we would like to have all job configurations in svn, but then Bull and JBoss would each only execute a subset of those configurations on their own QA boxes.


            ant-hudson setup could be configured to only copy a subset of jobs dependeing on the settings in ant.properties


            • 3. Re: applying the hudson jobs in the sources
              tom.baeyens

              thanks

              "thomas.diesler@jboss.com" wrote:

              Hudson instances should not get modified through the web interface.
              ant hudson-setup
              


              run by a QA engineer should be the only way to setup the QA environment for any given version - otherwise the QA is not guarantied to be in sync with the source.


              does the QA engineer run the "ant hudson-setup" manually upon request ?
              is it automatically in each build ?
              is it a separate hudson job to check for hudson configuration updates ?


              To generate the hudson configuration files, do you use the jboss qa hudson instance, or do you just deploy hudson on your local machine ?

              Do you know whom to contact to get this set up ? just qa at jboss.com ?

              • 4. Re: applying the hudson jobs in the sources
                thomas.diesler