Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-20148

releng scripts is an outdated version; jobs are not seeing latest from Nexus

XMLWordPrintable

      I've made some commits in the 4.3.x branch [0] of the build-ci repo, which should echo more details into the log.

      [0] https://github.com/jbosstools/jbosstools-build-ci/commits/jbosstools-4.3.x

      And the latest commits ARE built and available in Nexus [1], [2]:

      [1] https://repository.jboss.org/nexus/content/repositories/snapshots/org/jboss/tools/releng/jbosstools-releng-publish/4.3.0.Beta2-SNAPSHOT/ [2] https://repository.jboss.org/nexus/content/repositories/snapshots/org/jboss/tools/releng/jbosstools-releng-publish/4.3.0.Beta2-SNAPSHOT/jbosstools-releng-publish-4.3.0.Beta2-20150624.001847-10.zip

      Yet, no such output appears when the job is run, which makes me think that the -d and --del flags are NOT being passed to the script.

      Here's a snippet from https://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/jbosstools-build-sites.aggregate.site_master/10189/console :

      + /qa/tools/opt/apache-maven-3.2.5//bin/mvn deploy -Pdeploy-to-jboss.org -Dmaven.repo.local=/mnt/hudson_workspace/workspace/jbosstools-build-sites.aggregate.site_master/.repository -B -U -fae -e -P hudson,unified.target,pack200,fetch-source-zips -Djbosstools_site_stream=master
      ...
      [INFO] --- exec-maven-plugin:1.3.2:exec (deploy-snapshot-updatesite) @ org.jboss.tools.site.core ---
      ...
      rsync -arzq --protocol=28 /mnt/hudson_workspace/workspace/jbosstools-build-sites.aggregate.site_master/sources/aggregate/site/target/repository/* tools@filemgmt.jboss.org:/downloads_htdocs/tools/mars/snapshots/updates/core/master/
      

      Yet when I run THE SAME SCRIPT from the workspace via shell, I get what I want:

      + . /mnt/hudson_workspace/workspace/jbosstools-build-sites.aggregate.site_master/sources/publish/rsync.sh -s /mnt/hudson_workspace/workspace/jbosstools-build-sites.aggregate.site_master/sources/aggregate/site/target/fullSite/all/repo -t mars/snapshots/updates/core/master --del
      ...
      [DEBUG] RSYNCFLAGS =  --del
      ...
      [INFO] rsync -arzq --protocol=28  --del /mnt/hudson_workspace/workspace/jbosstools-build-sites.aggregate.site_master/sources/aggregate/site/target/fullSite/all/repo/* tools@filemgmt.jboss.org:/downloads_htdocs/tools/mars/snapshots/updates/core/master/
      ++ rsync -arzq --protocol=28 --del ...  tools@filemgmt.jboss.org:/downloads_htdocs/tools/mars/snapshots/updates/core/master/
      

      So... what am I doing wrong? Why isn't the mojo using the latest version of the rsync script, but it's IN the workspace [3] ?

      [3] https://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/jbosstools-build-sites.aggregate.site_master/ws/sources/publish/rsync.sh/*view*/

              mistria@redhat.com Mickael Istria
              nickboldt Nick Boldt
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: