Toggle navigation
Toggle navigation
This project
Loading...
Sign in
OPENTECH
/
yoho-node-ci
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
2
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
姜枫
2016-10-10 15:11:03 +0800
Commit
5b6e2e2edeab5cd1dda59574356573e32ad9f679
1 parent
145fcd25
支持增量分发
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
apps/ci/deploy.js
apps/web/actions/projects.js
apps/ci/deploy.js
View file @
5b6e2e2
...
...
@@ -37,7 +37,7 @@ class Deploy {
}
sshDeploy
(
serverInfo
)
{
console
.
log
(
'ssh connecting'
);
console
.
log
(
'ssh connecting'
,
serverInfo
);
let
conn
=
new
ssh
.
Client
();
let
self
=
this
;
conn
.
on
(
'ready'
,
async
()
=>
{
...
...
apps/web/actions/projects.js
View file @
5b6e2e2
...
...
@@ -211,7 +211,7 @@ const p = {
env
:
building
.
env
});
if
(
doc
.
state
!==
'running'
)
{
if
(
!
doc
||
doc
.
state
!==
'running'
)
{
let
info
=
{
projectId
:
project
.
_id
,
host
:
host
,
...
...
Please
register
or
login
to post a comment