Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
node-devlop-rest-api
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhouzihao
node-devlop-rest-api
Commits
bb4d0d8e
Commit
bb4d0d8e
authored
Apr 01, 2020
by
zhouzihao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dev
parent
489e7351
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
shell/java.js
shell/java.js
+2
-2
No files found.
shell/java.js
View file @
bb4d0d8e
...
@@ -58,7 +58,7 @@ const buildJava = async (projectObj, envObj, typeObj, configList, branch, versio
...
@@ -58,7 +58,7 @@ const buildJava = async (projectObj, envObj, typeObj, configList, branch, versio
//gitlab 创建项目
//gitlab 创建项目
let
stdout4
=
await
execa
(
'
curl
'
,
[
let
stdout4
=
await
execa
(
'
curl
'
,
[
'
--header
'
,
'
--header
'
,
`"PRIVATE-TOKEN:
${
token
}
"`
,
`"PRIVATE-TOKEN:
${
token
}
"`
,
'
-X
'
,
'
-X
'
,
'
DELETE
'
,
'
DELETE
'
,
`
${
target_git_url
}
/api/v4/projects/
${
target_git_name
}
%2f
${
project_name
}
`
`
${
target_git_url
}
/api/v4/projects/
${
target_git_name
}
%2f
${
project_name
}
`
...
@@ -70,7 +70,7 @@ const buildJava = async (projectObj, envObj, typeObj, configList, branch, versio
...
@@ -70,7 +70,7 @@ const buildJava = async (projectObj, envObj, typeObj, configList, branch, versio
let
stdout5
=
await
execa
(
'
curl
'
,
[
let
stdout5
=
await
execa
(
'
curl
'
,
[
'
--header
'
,
'
--header
'
,
`"PRIVATE-TOKEN:
${
token
}
"`
,
`"PRIVATE-TOKEN:
${
token
}
"`
,
'
-X
'
,
'
-X
'
,
'
POST
'
,
'
POST
'
,
`
${
target_git_url
}
/api/v4/projects?name=
${
project_name
}
`
`
${
target_git_url
}
/api/v4/projects?name=
${
project_name
}
`
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment