Gradle changed uploadDocumentation rsync url and port
This commit is contained in:
parent
6c7edbf640
commit
79f08afc8a
|
@ -108,10 +108,10 @@ task assembleDocumentation(type: Task, dependsOn: [rootProject.project( 'documen
|
|||
task uploadDocumentation(type:Exec, dependsOn: assembleDocumentation) {
|
||||
description = "Uploads documentation to the JBoss doc server"
|
||||
|
||||
final String url = "filemgmt.jboss.org:/docs_htdocs/hibernate/orm/${rootProject.ormVersion.family}";
|
||||
final String url = "filemgmt-prod-sync.jboss.org:/docs_htdocs/hibernate/orm/${rootProject.ormVersion.family}";
|
||||
|
||||
executable 'rsync'
|
||||
args '-avz', '--links', "${documentationDir.absolutePath}/", url
|
||||
args '--port=2222' , '-avz', '--links', "${documentationDir.absolutePath}/", url
|
||||
|
||||
doFirst {
|
||||
if ( rootProject.ormVersion.isSnapshot ) {
|
||||
|
|
Loading…
Reference in New Issue