This commit is contained in:
hoangvv 2025-01-08 00:25:28 +07:00
parent 9cf6cc4180
commit 9d2fdead31
2 changed files with 2 additions and 1 deletions

1
Jenkinsfile vendored
View File

@ -8,6 +8,7 @@ node('Node-Dev-100163') {
sh 'make clean_up'
}
stage('Build') {
sh "sed -i 's/TAG := \\$\\(shell rev-parse --abbrev-ref HEAD\\)/TAG := ${env.BRANCH_NAME}/g' Makefile"
sh 'make install'
sh 'make stop_server_docker'
sh 'make gen_config'

View File

@ -13,7 +13,7 @@ SETUP_PATH=${PWD}/setup
HASH := $(shell git rev-parse HEAD)
CONFIG=odoo.conf
ODOO_IMAGE=hub.nextzenos.com/nexterp/odoo
TAG := main
TAG := $(shell rev-parse --abbrev-ref HEAD)
CONTAINER_ID=odoo-${TAG}
install:
sudo apt -y update && \