[
https://issues.jboss.org/browse/JBDS-3532?page=com.atlassian.jira.plugin....
]
Nick Boldt commented on JBDS-3532:
----------------------------------
Check the job. It calls maven twice, with a shell script to move stuff around in between.
{code}
clean install ${MAVEN_FLAGS} -DTARGET_PLATFORM_VERSION=${TARGET_PLATFORM_VERSION_MAXIMUM}
-Ppack200 \
-f ${WORKSPACE}/sources/product/pom.xml
# move the update site target folder temporarily
rm -fr ${WORKSPACE}/tmp-target
mv ${WORKSPACE}/sources/product/site/target ${WORKSPACE}/tmp-target
# now rebuild the update site, without pack200
clean install ${MAVEN_FLAGS} -DTARGET_PLATFORM_VERSION=${TARGET_PLATFORM_VERSION_MAXIMUM}
\
-f ${WORKSPACE}/sources/product/site/pom.xml
{code}
*I'm not convinced that calling deploy rebuilds anything*, since the timestamps
you're seeing are 10 mins apart and the older one is for the installer, with the newer
one for the update site zip. That matches with what the job is actually doing, per the log
[1]:
[1]
http://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/DevStudio/view/DevSt...
{code}
[devstudio.product_9.0.mars] $ /qa/tools/opt/apache-maven-3.2.5/bin/mvn -f
/mnt/hudson_workspace/workspace/devstudio.product_9.0.mars/sources/product/pom.xml
-DTARGET_PLATFORM_VERSION=4.50.0.Final-SNAPSHOT
-DTARGET_PLATFORM_VERSION_MAXIMUM=4.51.0.Final
-DJBOSS_CENTRAL_ZIP=https://devstudio.redhat.com/9.0/snapshots/builds/jbosstools-build-sites.aggregate.central-site_${jbosstools_site_stream}/latest/all/repository.zip
"-DMAVEN_FLAGS=-B -U -fae -e -P hudson,eap,unified.target -DBUILD_ALIAS=GA"
-DskipRevisionCheckWhenPublishing=true "-Dupdate.site.description=Nightly Build"
-Djbosstools_site_stream=4.3.mars
-Ddownload.cache.directory=/home/hudson/static_build_env/jbds/download-cache
-Dmaven.test.error.ignore=true -Dmaven.test.failure.ignore=true
-Djbosstools-site=http://download.jboss.org/jbosstools/mars/snapshots/builds/jbosstools-build-sites.aggregate.site_4.3.mars/latest/all/repo/
-DBUILD_ID=2015-09-25_08-52-21 -DJOB_NAME=devstudio.product_9.0.mars -DBUILD_NUMBER=116
-DtargetPlatformGroup=jbdevstudio
-Dmaven.repo.local=/mnt/hudson_workspace/workspace/devstudio.product_9.0.mars/.repository
clean install -B -U -fae -e -P hudson,eap,unified.target -DBUILD_ALIAS=GA
-DTARGET_PLATFORM_VERSION=4.51.0.Final -Ppack200
...
[INFO] ------------------------------------------------------------------------
[INFO] Building com.jboss.devstudio.core 9.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.6.1:clean (default-clean) @ com.jboss.devstudio.core ---
[INFO] Deleting
/mnt/hudson_workspace/workspace/devstudio.product_9.0.mars/sources/product/plugins/com.jboss.devstudio.core/target
[INFO]
[INFO] --- tycho-packaging-plugin:0.23.1:build-qualifier (default-build-qualifier) @
com.jboss.devstudio.core ---
[INFO] The project's OSGi version is 9.0.0.GA-v20150925-1252-B116
...
[devstudio.product_9.0.mars] $ bash -xe /tmp/hudson1210009601204356083.sh
+ rm -fr /mnt/hudson_workspace/workspace/devstudio.product_9.0.mars/tmp-target
+ mv
/mnt/hudson_workspace/workspace/devstudio.product_9.0.mars/sources/product/site/target
/mnt/hudson_workspace/workspace/devstudio.product_9.0.mars/tmp-target
...
[devstudio.product_9.0.mars] $ /qa/tools/opt/apache-maven-3.2.5/bin/mvn -f
/mnt/hudson_workspace/workspace/devstudio.product_9.0.mars/sources/product/site/pom.xml
-DTARGET_PLATFORM_VERSION=4.50.0.Final-SNAPSHOT
-DTARGET_PLATFORM_VERSION_MAXIMUM=4.51.0.Final
-DJBOSS_CENTRAL_ZIP=https://devstudio.redhat.com/9.0/snapshots/builds/jbosstools-build-sites.aggregate.central-site_${jbosstools_site_stream}/latest/all/repository.zip
"-DMAVEN_FLAGS=-B -U -fae -e -P hudson,eap,unified.target -DBUILD_ALIAS=GA"
-DskipRevisionCheckWhenPublishing=true "-Dupdate.site.description=Nightly Build"
-Djbosstools_site_stream=4.3.mars
-Ddownload.cache.directory=/home/hudson/static_build_env/jbds/download-cache
-Dmaven.test.error.ignore=true -Dmaven.test.failure.ignore=true
-Djbosstools-site=http://download.jboss.org/jbosstools/mars/snapshots/builds/jbosstools-build-sites.aggregate.site_4.3.mars/latest/all/repo/
-DBUILD_ID=2015-09-25_08-52-21 -DJOB_NAME=devstudio.product_9.0.mars -DBUILD_NUMBER=116
-DtargetPlatformGroup=jbdevstudio
-Dmaven.repo.local=/mnt/hudson_workspace/workspace/devstudio.product_9.0.mars/.repository
clean install -B -U -fae -e -P hudson,eap,unified.target -DBUILD_ALIAS=GA
-DTARGET_PLATFORM_VERSION=4.51.0.Final
...
[WARNING] The following locally built units have been used to resolve project
dependencies:
[WARNING] com.jboss.devstudio.core.feature.feature.jar/9.0.0.GA-v20150925-1252-B116
[WARNING]
com.jboss.devstudio.core.capabilities.feature.feature.group/9.0.0.GA-v20150925-1252-B116
[WARNING] com.jboss.devstudio.core.usage.branding.source/9.0.0.GA-v20150925-1252-B116
[WARNING] com.jboss.devstudio.core.central/9.0.0.GA-v20150925-1252-B116
[WARNING] com.jboss.devstudio.core.usage.branding/9.0.0.GA-v20150925-1252-B116
[WARNING]
com.jboss.devstudio.core.capabilities.feature.source.feature.jar/9.0.0.GA-v20150925-1252-B116
[WARNING] com.jboss.devstudio.core.capabilities.source/9.0.0.GA-v20150925-1252-B116
[WARNING]
com.jboss.devstudio.core.feature.source.feature.jar/9.0.0.GA-v20150925-1252-B116
[WARNING]
com.jboss.devstudio.core.capabilities.feature.feature.jar/9.0.0.GA-v20150925-1252-B116
[WARNING] com.jboss.devstudio.core.project.examples.source/9.0.0.GA-v20150925-1252-B116
[WARNING] com.jboss.devstudio.core.capabilities/9.0.0.GA-v20150925-1252-B116
[WARNING]
com.jboss.devstudio.core.feature.source.feature.group/9.0.0.GA-v20150925-1252-B116
[WARNING]
com.jboss.devstudio.core.capabilities.feature.source.feature.group/9.0.0.GA-v20150925-1252-B116
[WARNING] com.jboss.devstudio.core.feature.feature.group/9.0.0.GA-v20150925-1252-B116
[WARNING] com.jboss.devstudio.core.project.examples/9.0.0.GA-v20150925-1252-B116
[WARNING] com.jboss.devstudio.core.central.source/9.0.0.GA-v20150925-1252-B116
[WARNING] com.jboss.devstudio.core/9.0.0.GA-v20150925-1252-B116
[WARNING] com.jboss.devstudio.core.source/9.0.0.GA-v20150925-1252-B116
(but then this happens...)
[INFO] --- tycho-packaging-plugin:0.23.1:build-qualifier-aggregator
(default-build-qualifier-aggregator) @ com.jboss.devstudio.core.site ---
[INFO] The project's OSGi version is 9.0.0.GA-v20150925-1303-B116
{code}
And 3 mins later, the update site zip (with no packed artifacts) is completed, using the
NEW version of the com.jboss.devstudio.core.site artifact.
Installer and updatesite zip contain different timestamps for JBDS
product IU (because rebuilt?)
------------------------------------------------------------------------------------------------
Key: JBDS-3532
URL:
https://issues.jboss.org/browse/JBDS-3532
Project: Developer Studio (JBoss Developer Studio)
Issue Type: Bug
Components: updatesite
Affects Versions: 9.0.0.CR2
Environment:
jboss-devstudio-9.0.0.GA-v20150925-1252-B116-installer-standalone.jar
jboss-devstudio-9.0.0.GA-v20150925-1252-B116-updatesite-core.zip
downloaded from
http://www.qa.jboss.com/binaries/RHDS/9.0/staging/builds/devstudio-9.0.0....
Reporter: Jan Richter
Assignee: Nick Boldt
Priority: Blocker
Labels: respin-a
Fix For: 9.0.0.GA
The update site zip has a later timestamp than what you get from the installer but it is
still the same build.
So you can basically update to the same build because of that.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)