Skip to content
This repository has been archived by the owner on Nov 24, 2022. It is now read-only.

Commit

Permalink
JBIDE-22757 replace BUILD_ID with BUILD_TIMESTAMP
Browse files Browse the repository at this point in the history
  • Loading branch information
nickboldt committed Jul 22, 2016
1 parent 9b36d6d commit 6e22a04
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
<baseline>http://repository.jboss.org/nexus/content/unzip/unzip/org/jboss/tools/locus/update.site/${previousVersion}/update.site-${previousVersion}.zip-unzip/</baseline>
<!-- https://issues.jboss.org/browse/JBIDE-21012 by default, push zip to JBoss Nexus -->
<maven.deploy.skip>false</maven.deploy.skip>
<BUILD_TIMESTAMP>${maven.build.timestamp}</BUILD_TIMESTAMP>
<maven.build.timestamp.format>yyyy-MM-dd_HH-mm-ss</maven.build.timestamp.format>
</properties>

<modules>
Expand Down
4 changes: 2 additions & 2 deletions site/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@
<deployScript>${deployScriptDir}/publish/rsync.sh</deployScript>
<deploySourceFolder>${project.build.directory}/repository</deploySourceFolder>
<deployDestination>tools@filemgmt.jboss.org:downloads_htdocs/jbosstools</deployDestination>
<deployTargetFolder>mars/snapshots/builds/${JOB_NAME}/${BUILD_ID}-B${BUILD_NUMBER}/all/repo/</deployTargetFolder>
<deployTargetFolder>mars/snapshots/builds/${JOB_NAME}/${BUILD_TIMESTAMP}-B${BUILD_NUMBER}/all/repo/</deployTargetFolder>
<maven.deploy.skip>false</maven.deploy.skip>
</properties>
<build>
Expand Down Expand Up @@ -279,7 +279,7 @@
</profiles>

<!--
mvn install -Pmaximum -DBUILD_ID=2013-04-10_01-02-03 -DBUILD_NUMBER=314 -DBUILD_ALIAS=Beta1 -Dupdate.site.description="Stable Milestone" -DJOB_NAME=jbosstools-locus.site_master
mvn install -Pmaximum -DBUILD_TIMESTAMP=2013-04-10_01-02-03 -DBUILD_NUMBER=314 -DBUILD_ALIAS=Beta1 -Dupdate.site.description="Stable Milestone" -DJOB_NAME=jbosstools-locus.site_master
-->

</project>

0 comments on commit 6e22a04

Please sign in to comment.