]
Max Rydahl Andersen commented on JBIDE-20171:
---------------------------------------------
We have a requirement for 7 years to know the exact tag our products are built from. Let
us ignore the past for a bit look at current situation.
Right now buildinfo.json does not have that info nor does the xulrunner if we don't
tag it.
I've suggested we at least make the tag and would like to do it in an automated
fashion so we don't have to go hunt that info manually.
Please let me know how you want to fulfill that for our builds going forward.
buildinfo.json reader fails if upstream MANIFEST.MF contains no SHA
-------------------------------------------------------------------
Key: JBIDE-20171
URL:
https://issues.jboss.org/browse/JBIDE-20171
Project: Tools (JBoss Tools)
Issue Type: Sub-task
Components: build
Affects Versions: 4.3.0.Beta2
Reporter: Nick Boldt
Assignee: Max Rydahl Andersen
Fix For: 4.3.0.Beta2
Since the addition of a check that verifies exactly this condition:
https://github.com/jbosstools/jbosstools-maven-plugins/commit/916f4521ba6...
I've now got a situation where it's OK to have no SHA in the MANIFEST.MF, but a
SHA in buildinfo.json.
{code:title=https://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/jbosstools-build-sites.aggregate.site_master/10216/console}
[ERROR] Failed to execute goal
org.jboss.tools.tycho-plugins:repository-utils:0.22.1-SNAPSHOT:fetch-sources-from-manifests
(fetch-sources) on project org.jboss.tools.site.core: Problem occurred checking upstream
buildinfo.json files!
[ERROR]
/mnt/hudson_workspace/workspace/jbosstools-build-sites.aggregate.site_master/sources/aggregate/site/target/buildinfo/buildinfo_jbosstools-xulrunner.json
[ERROR] contains 2edce933f7d64efbb4d7a5b16be8dadae8de766e, but upstream project's
MANIFEST.MF has Eclipse-SourceReferences
[ERROR] commitId .
[ERROR] If you have locally built projects which are aggregated here,
[ERROR] ensure they are built from the latest SHA from HEAD, not a local topic branch.
[ERROR] Or, use -DskipCheckSHAs=true to bypass this check.
[ERROR] -> [Help 1]{code}
This happened after I put a buildinfo.json file here:
http://download.jboss.org/jbosstools/updates/requirements/xulrunner-1.9.2...
I've since moved the file here to temporarily work around the build failure:
http://download.jboss.org/jbosstools/updates/requirements/xulrunner-1.9.2...