Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
W
wisdom-property
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
郭铭瑶
wisdom-property
Commits
ebf802a4
Commit
ebf802a4
authored
Apr 17, 2020
by
devops
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update Jenkinsfile
parent
22890cd0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Jenkinsfile
Jenkinsfile
+2
-2
No files found.
Jenkinsfile
View file @
ebf802a4
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
def
utils
=
new
io
.
fabric8
.
Utils
()
def
utils
=
new
io
.
fabric8
.
Utils
()
clientsNode
{
clientsNode
{
def
env
=
'
shanghaiwuye
'
def
env
=
'
pudong
'
def
projectName
=
"${JOB_BASE_NAME}"
def
projectName
=
"${JOB_BASE_NAME}"
def
newVersion
=
''
def
newVersion
=
''
...
@@ -20,7 +20,7 @@ clientsNode{
...
@@ -20,7 +20,7 @@ clientsNode{
stage
'构建版本'
stage
'构建版本'
echo
'NOTE: running pipelines for the first time will take longer as build and base docker images are pulled onto the node'
echo
'NOTE: running pipelines for the first time will take longer as build and base docker images are pulled onto the node'
if
(!
fileExists
(
'Dockerfile'
))
{
if
(!
fileExists
(
'Dockerfile'
))
{
writeFile
file:
'Dockerfile'
,
text:
'''FROM 1
68.168.112.64:5000/node-nginx:8.12.0
writeFile
file:
'Dockerfile'
,
text:
'''FROM 1
0.0.6.228:5000/node-nginx:8.12.0-slim
WORKDIR /app
WORKDIR /app
...
...
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