Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
UPSMF
uphrh-smf-gateway
Commits
3ce1f592
Commit
3ce1f592
authored
3 years ago
by
NetOps
Browse files
Options
Download
Patches
Plain Diff
Update Jenkinsfile
parent
8f40c7cb
master
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Jenkinsfile
+0
-3
Jenkinsfile
with
0 additions
and
3 deletions
+0
-3
Jenkinsfile
+
0
−
3
View file @
3ce1f592
...
...
@@ -27,7 +27,6 @@ node() {
commit_id=$(git rev-parse --short HEAD)
echo $commit_id> commit_id.txt
docker build --no-cache -f Dockerfile -t $docker_server/$docker_repo:$commit_id .
docker tag $docker_server/$docker_repo:$commit_id $docker_server/$docker_repo:$image_tag
'''
}
stage
(
'docker-push'
)
{
...
...
@@ -36,9 +35,7 @@ node() {
pwd
commit_id=$(git rev-parse --short HEAD)
docker push $docker_server/$docker_repo:$commit_id
docker push $docker_server/$docker_repo:$image_tag
docker rmi -f $docker_server/$docker_repo:$commit_id
docker rmi -f $docker_server/$docker_repo:$image_tag
'''
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets