Skip to content

Commit

Permalink
JBIDE-20148 parameterize where to unzip jbosstools-releng-publish and…
Browse files Browse the repository at this point in the history
… which script to run, so we could in future deploy using a different script
  • Loading branch information
nickboldt committed Jul 1, 2015
1 parent 5562ef3 commit 7b2da57
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions parent/pom.xml
Expand Up @@ -775,6 +775,8 @@
<profile>
<id>deploy-to-jboss.org</id>
<properties>
<deployScriptDir>${project.build.directory}/releng-scripts</deployScriptDir>
<deployScript>${deployScriptDir}/publish/rsync.sh</deployScript>
<deploySourceFolder>${project.build.directory}/repository</deploySourceFolder>
<deployDestination>tools@filemgmt.jboss.org:downloads_htdocs/jbosstools</deployDestination>
<deployTargetFolder>${jbosstools-build-type}/${JOB_NAME}/${BUILD_ID}-B${BUILD_NUMBER}/all/repo/</deployTargetFolder>
Expand All @@ -797,7 +799,7 @@
<artifactId>jbosstools-releng-publish</artifactId>
<version>${jbosstoolsRelengPublishVersion}</version>
<type>tar.gz</type>
<outputDirectory>${project.build.directory}/releng-scripts</outputDirectory>
<outputDirectory>${deployScriptDir}</outputDirectory>
</artifactItem>
</artifactItems>
</configuration>
Expand All @@ -809,7 +811,7 @@
<artifactId>exec-maven-plugin</artifactId>
<version>1.3.2</version>
<configuration>
<executable>${project.build.directory}/releng-scripts/publish/rsync.sh</executable>
<executable>${deployScript}</executable>
</configuration>
<executions>
<execution>
Expand Down

0 comments on commit 7b2da57

Please sign in to comment.