[
https://issues.jboss.org/browse/JBIDE-20900?page=com.atlassian.jira.plugi...
]
Mickael Istria commented on JBIDE-20900:
----------------------------------------
So you're about to tweak a pom to avoid publishing a file that does not harm; then to
tweak job configs to use a .tar.gz instead of a zip; in order to replace ".
foo.sh" by "./foo.sh". Well, up to you, but I know funnier ways to waste
time :P
why do we need both zip and tar.gz for
org.jboss.tools.releng:jbosstools-releng-publish ?
-----------------------------------------------------------------------------------------
Key: JBIDE-20900
URL:
https://issues.jboss.org/browse/JBIDE-20900
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: build
Affects Versions: 4.3.0.Final, 4.4.0.Alpha1
Reporter: Nick Boldt
Assignee: Nick Boldt
Priority: Minor
Fix For: 4.4.0.Alpha1
When publishing, we use this:
{code}
[jbosstools-build-sites.aggregate.site_4.3.mars] $
/qa/tools/opt/apache-maven-3.2.5/bin/mvn -DTARGET_PLATFORM_VERSION=4.50.0.Final
-DTARGET_PLATFORM_VERSION_MAXIMUM=4.51.0.Final "-DMAVEN_FLAGS=-B -U -fae -e -P
hudson,unified.target,pack200"
-DskipRevisionCheckWhenPublishing=true "-Dupdate.site.description=Stable
Release" -Djbosstools_site_stream=4.3.mars -DtrimVersion=true
-Dmdep.stripClassifier=true
-Dartifact=org.jboss.tools.releng:jbosstools-releng-publish:4.3.0.Final:zip
-DoutputDirectory=/mnt/hudson_workspace/workspace/jbosstools-build-sites.aggregate.site_4.3.mars/sources
-Dmdep.stripVersion=true org.apache.maven.plugins:maven-dependency-plugin:2.9:unpack
{code}
But there's also this:
{code}
[INFO] Configured Artifact:
org.jboss.tools.releng:jbosstools-releng-publish:4.3.0.Final:tar.gz
[INFO] Downloading:
https://repository.jboss.org/nexus/content/repositories/deprecated/org/jb...
[INFO] Downloading:
https://repository.jboss.org/nexus/content/groups/developer/org/jboss/too...
[INFO] Downloaded:
https://repository.jboss.org/nexus/content/groups/developer/org/jboss/too...
(25 KB at 99.3 KB/sec)
[INFO] Unpacking
/mnt/hudson_workspace/workspace/jbosstools-build-sites.aggregate.site_4.3.mars/.repository/org/jboss/tools/releng/jbosstools-releng-publish/4.3.0.Final/jbosstools-releng-publish-4.3.0.Final.tar.gz
to
/mnt/hudson_workspace/workspace/jbosstools-build-sites.aggregate.site_4.3.mars/sources/aggregate/site/target/releng-scripts
with includes "" and excludes ""
[INFO] Expanding:
/mnt/hudson_workspace/workspace/jbosstools-build-sites.aggregate.site_4.3.mars/.repository/org/jboss/tools/releng/jbosstools-releng-publish/4.3.0.Final/jbosstools-releng-publish-4.3.0.Final.tar.gz
into
/mnt/hudson_workspace/workspace/jbosstools-build-sites.aggregate.site_4.3.mars/sources/aggregate/site/target/releng-scripts{code}
So... should we update jobs to fetch and use the .tar.gz because it retains exec perms?
Then we can update the assembly.xml to only create the .tar.gz and stop wasting disk space
w/ the extra zip.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)