Commit 6ee7a23c authored by Ndoumbe's avatar Ndoumbe

Update Jenkinsfile

parent 8b694ab5
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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment