#!/bin/bash

command="cd www/winery/\n"

# change into dir and delete old snapshots
command="${command}mkdir $TRAVIS_BRANCH\ncd $TRAVIS_BRANCH\nrm *.war\n"

command="${command}mput org.eclipse.winery.repository/target/*.war\n"
command="${command}mput org.eclipse.winery.repository/target/*.war\n"
command="${command}exit\n"

# now $command is complete

echo -e "$command" | sftp -P 443 builds_opentosca_org@builds.opentosca.org

#!/bin/bash

command="cd www/winery/\n"

# change into dir and delete old snapshots
command="${command}mkdir $TRAVIS_BRANCH\ncd $TRAVIS_BRANCH\nrm *.war\n"

command="${command}mput org.eclipse.winery.repository/target/*.war\n"
command="${command}mput org.eclipse.winery.topologymodeler/target/*.war\n"
command="${command}exit\n"

# now $command is complete

echo -e "$command" | sftp -P 443 builds_opentosca_org@builds.opentosca.org

Enable upload of topology modeler
Enable upload of topology modeler

Signed-off-by: Oliver Kopp <6e3b2ea5538f1752a10d3f04fddcdb11429e4200@gmail.com>
