Skip to content

Commit

Permalink
Updated jboss server URL and port
Browse files Browse the repository at this point in the history
  • Loading branch information
pruivo authored and tristantarrant committed Sep 29, 2022
1 parent 16fbd3d commit 9ecd56b
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 19 deletions.
6 changes: 3 additions & 3 deletions distribution/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@
<exec dir="${project.build.directory}/distribution" executable="rsync">
<arg value="-rvm"/>
<arg line="--protocol=29"/>
<arg line="-e &quot;ssh -i ${upload.keyFile}&quot;"/>
<arg line="-e &quot;ssh -i ${upload.keyFile} -p ${upload.remotePort}&quot;"/>
<arg line="--include='*.zip'"/>
<arg line="--include='*.sha1'"/>
<arg line="--exclude='*'"/>
Expand All @@ -262,14 +262,14 @@
<exec dir="${project.build.directory}/site" executable="rsync">
<arg value="-rvm"/>
<arg line="--protocol=29"/>
<arg line="-e &quot;ssh -i ${upload.keyFile}&quot;"/>
<arg line="-e &quot;ssh -i ${upload.keyFile} -p ${upload.remotePort}&quot;"/>
<arg value="configdocs"/>
<arg value="${upload.docsDir}"/>
</exec>
<exec dir="${project.build.directory}/site" executable="rsync">
<arg value="-rvm"/>
<arg line="--protocol=29"/>
<arg line="-e &quot;ssh -i ${upload.keyFile}&quot;"/>
<arg line="-e &quot;ssh -i ${upload.keyFile} -p ${upload.remotePort}&quot;"/>
<arg value="serverconfigdocs"/>
<arg value="${upload.docsDir}"/>
</exec>
Expand Down
2 changes: 1 addition & 1 deletion documentation/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@
<exec dir="${project.build.directory}/generated/${infinispan.base.version}" executable="rsync">
<arg value="-rvm"/>
<arg line="--protocol=29"/>
<arg line="-e &quot;ssh -i ${upload.keyFile}&quot;"/>
<arg line="-e &quot;ssh -i ${upload.keyFile} -p ${upload.remotePort}&quot;"/>
<arg line="--exclude='*.png'"/>
<arg line="--exclude='*.svg'"/>
<arg line="--include='*.pdf'"/>
Expand Down
5 changes: 1 addition & 4 deletions javadoc/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -427,13 +427,10 @@
<exec dir="${project.build.directory}" executable="rsync">
<arg value="-rvm"/>
<arg line="--protocol=29"/>
<arg line="-e &quot;ssh -i ${upload.keyFile}&quot;"/>
<arg line="-e &quot;ssh -i ${upload.keyFile} -p ${upload.remotePort}&quot;"/>
<arg value="apidocs"/>
<arg value="${upload.docsDir}"/>
</exec>
<scp todir="${upload.docsDir}/apidocs" keyfile="${upload.keyFile}" verbose="true" compressed="true">
<fileset dir="${project.build.directory}/apidocs"/>
</scp>
</target>
</configuration>
</execution>
Expand Down
28 changes: 17 additions & 11 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -205,13 +205,16 @@
<infinispan.test.parallel.threads>8</infinispan.test.parallel.threads>
<server.test.provisioning>thin</server.test.provisioning>
<skipArtifactUpload>false</skipArtifactUpload>
<upload.username>infinispan</upload.username>
<upload.host>filemgmt.jboss.org</upload.host>
<upload.downloadsDir>${upload.username}@${upload.host}:/downloads_htdocs/infinispan/${project.version}</upload.downloadsDir>
<upload.docsPath>/docs_htdocs/infinispan/${infinispan.base.version}</upload.docsPath>
<upload.docsDir>${upload.username}@${upload.host}:${upload.docsPath}</upload.docsDir>
<upload.keyFile>${env.HOME}/.ssh/infinispan</upload.keyFile>
<upload.schemaDir>${upload.username}@${upload.host}:/schema_htdocs/infinispan</upload.schemaDir>
<upload.username>infinispan</upload.username>
<upload.host>filemgmt-prod-sync.jboss.org</upload.host>
<upload.remotePort>2222</upload.remotePort>
<upload.downloadsRemotePath>/downloads_htdocs/infinispan/${project.version}</upload.downloadsRemotePath>
<upload.downloadsDir>${upload.username}@${upload.host}:${upload.downloadsRemotePath}</upload.downloadsDir>
<upload.docsRemotePath>/docs_htdocs/infinispan/${infinispan.base.version}</upload.docsRemotePath>
<upload.docsDir>${upload.username}@${upload.host}:${upload.docsRemotePath}</upload.docsDir>
<upload.schemaRemotePath>/schema_htdocs/infinispan</upload.schemaRemotePath>
<upload.schemaDir>${upload.username}@${upload.host}:${upload.schemaRemotePath}</upload.schemaDir>
<junitListener>org.infinispan.commons.test.JUnitTestListener</junitListener>
<m2e.apt.activation>jdt_apt</m2e.apt.activation>
<module.skipCopyDependencies>true</module.skipCopyDependencies>
Expand Down Expand Up @@ -2607,11 +2610,14 @@
<available file="${project.build.outputDirectory}/schema" type="dir" property="hasSchema"/>

<echo level="info" message="Uploading Schema files to ${upload.schemaDir}" if:set="hasSchema" xmlns:if="ant:if"/>
<scp todir="${upload.schemaDir}" keyfile="${upload.keyFile}" verbose="true" compressed="true" sftp="true" if:set="hasSchema" xmlns:if="ant:if">
<fileset dir="${project.build.outputDirectory}/schema">
<include name="*-${infinispan.core.schema.version}.xsd" />
</fileset>
</scp>
<exec dir="${project.build.outputDirectory}/schema" executable="rsync" if:set="hasSchema" xmlns:if="ant:if">
<arg value="-rvm"/>
<arg line="--protocol=29"/>
<arg line="-e &quot;ssh -i ${upload.keyFile} -p ${upload.remotePort}&quot;"/>
<arg line="--include='*-${infinispan.core.schema.version}.xsd'"/>
<arg value="."/>
<arg value="${upload.schemaDir}"/>
</exec>
</target>
</configuration>
</execution>
Expand Down

0 comments on commit 9ecd56b

Please sign in to comment.