Skip to content

Commit

Permalink
up path print
Browse files Browse the repository at this point in the history
  • Loading branch information
deploy committed Aug 15, 2019
1 parent c1bdd87 commit 7f8e753
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/main/deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ def makeOperation(self):
def hostOperation(self):
rtime = time.strftime('%Y%m%d_%H%M%S')
self.addlog('%s Deploy Start Time: %s\n' % (self.host_name, rtime))
self.addlog("PATH: %s%s/" %(self.host_path, self.project))
self.remoteFun[self.operation]()
self.updateHostCommit()
rtime = time.strftime('%Y%m%d_%H%M%S')
Expand Down Expand Up @@ -645,7 +646,6 @@ def restartJava(self, port = None):


def rsyncDir(self):
self.addlog("PATH: %s%s/" %(self.host_path, self.project))
shell_cmd = '''ssh -o StrictHostKeyChecking=no -o ConnectTimeout=2 %s@%s "mkdir -p %s/%s"
''' %(self.exec_user, self.host, self.host_path, self.project)
self.exec_shell(shell_cmd)
Expand Down

0 comments on commit 7f8e753

Please sign in to comment.