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

Only rely on rsync to publish new aggregate (remove other comparators and checks)

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Do
    • Icon: Major Major
    • 4.3.0.Beta1
    • None
    • build
    • None
    • Sprint #2 April 2015

      Instead of the composite-install test to decide whether we aggregate or not, it would be simpler to build aggregation in any case and then use p2diff (or other smart mechanism) to decide whether we want to publish the new composite or not.

      It's more or less just a matter of scripting

      p2diff file:${WORKSPACE}/results/${JOB_NAME}/all/repo/ http://download.jboss.org/jbosstools/builds/staging/${JOB_NAME}/all/repo/ | grep -e ^\< -e ^\> > p2diff_snapshot
      if [[ -s p2diff_snapshot ]]; then
         ./publish.sh
      fi
      

      Another benefit is that it allows us to get rid of the composite (1 less couple of files to maintain)

            mistria@redhat.com Mickael Istria
            mistria@redhat.com Mickael Istria
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: