Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
D
docker-demo
Project
Project
Details
Activity
Releases
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
Ndoumbe
docker-demo
Commits
6ee7a23c
Commit
6ee7a23c
authored
Dec 13, 2022
by
Ndoumbe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update Jenkinsfile
parent
8b694ab5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
45 deletions
+11
-45
Jenkinsfile
Jenkinsfile
+11
-45
No files found.
Jenkinsfile
View file @
6ee7a23c
pipeline
{
agent
any
environment
{
registry
=
"baamtu/docker-demo:master"
registryCredential
=
'dockerhub'
dockerImage
=
''
}
stages
{
stage
(
'Build'
)
{
steps
{
echo
'Building..'
}
}
stage
(
'Test'
)
{
steps
{
echo
'Testing..'
}
}
stage
(
'Build image'
)
{
steps
{
sh
"docker build -t baamtu/docker-demo:master ."
}
}
stage
(
'Push image'
)
{
steps
{
sh
"docker push baamtu/docker-demo:master"
}
}
}
}
// Load the shared library written for the pipeline
@Library
(
'share-library'
)
_
defaultPipeline
{
VALUES_FILE_DEV
=
"ganeyi/web.dev.values.yaml"
appName
=
"docker-demo"
GIT_DEVOPS_PWD
=
credentials
(
'GITHUB_DEVOPS_PASSWORD'
)
GIT_DEVOPS_USER
=
credentials
(
'GITHUB_DEVOPS_USER'
)
registry
=
'ndiop/repo1'
slackChannelNotification
=
'#demo'
APP_STACK
=
'ODOO'
dockerFileContext
=
'.'
\ No newline at end of file
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