Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
T
test
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
Administrator
test
Commits
c0fc522b
Commit
c0fc522b
authored
May 23, 2019
by
Your Name
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sdfsdfsdfsdll
parent
37587036
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
Jenkinsfile
Jenkinsfile
+1
-0
docker-compose.yml
docker-compose.yml
+1
-0
No files found.
Jenkinsfile
View file @
c0fc522b
...
@@ -17,6 +17,7 @@ pipeline {
...
@@ -17,6 +17,7 @@ pipeline {
steps
{
steps
{
sh
'''docker login -u deployment -p deployment123 nexus.gsstcloud.com:8093
sh
'''docker login -u deployment -p deployment123 nexus.gsstcloud.com:8093
docker push $registry_address/$image_name:latest'''
docker push $registry_address/$image_name:latest'''
scp
docker
-
compose
.
yml
root
@192.168.12.47
:
/tmp/
}
}
}
}
stage
(
'REMOVE LOCAL IMAGE'
)
{
stage
(
'REMOVE LOCAL IMAGE'
)
{
...
...
docker-compose.yml
View file @
c0fc522b
version
:
"
2"
version
:
"
2"
services
:
services
:
lxnginx
:
lxnginx
:
always:restart
image
:
nexus.gsstcloud.com:8093/test/lxnginx:latest
image
:
nexus.gsstcloud.com:8093/test/lxnginx:latest
ports
:
ports
:
-
"
1234:80"
-
"
1234:80"
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