Skip to content

Commit

Permalink
Gradle changed uploadDocumentation rsync url and port
Browse files Browse the repository at this point in the history
  • Loading branch information
dreab8 authored and yrodiere committed Apr 11, 2022
1 parent 4423962 commit 5ec5423
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -41,7 +41,7 @@ public DocumentationPublishing(Project project) {
.convention( project.getLayout().getBuildDirectory().dir( "documentation" ) );
docServerUrl = project.getObjects()
.property( String.class )
.convention( "filemgmt.jboss.org:/docs_htdocs/hibernate/orm" );
.convention( "filemgmt-prod-sync.jboss.org:/docs_htdocs/hibernate/orm" );

updatedJsonFile = project.getObjects()
.fileProperty()
Expand Down
Expand Up @@ -58,7 +58,7 @@ public void uploadDocumentation() {
getProject().getLogger().lifecycle( "Uploading documentation `{}` -> `{}`", stagingDirPath, url );
final ExecResult result = getProject().exec( (exec) -> {
exec.executable( "rsync" );
exec.args( "-avz", "--links", stagingDirPath, url );
exec.args("--port=2222", "-avz", "--links", stagingDirPath, url );
} );
getProject().getLogger().lifecycle( "Done uploading documentation - {}", result.getExitValue() == 0 ? "success" : "failure" );
}
Expand Down

0 comments on commit 5ec5423

Please sign in to comment.