Compare commits

..

2 Commits

Author SHA1 Message Date
thienqb123456 e4943e4ddf yarn build:production 2025-01-09 19:40:16 +07:00
thienqb123456 23eee92f43 them options { disableConcurrentBuilds(abortPrevious: true) } 2025-01-09 19:39:44 +07:00
5 changed files with 6 additions and 1 deletions
+1
View File
@@ -1,5 +1,6 @@
pipeline { pipeline {
agent any agent any
options { disableConcurrentBuilds(abortPrevious: true) }
environment { environment {
GIT_CREDENTIALSID = 'd3de261f-8f1e-470b-b6d1-2fb4965e0129' GIT_CREDENTIALSID = 'd3de261f-8f1e-470b-b6d1-2fb4965e0129'
GIT_URL = 'http://work.gct.com.vn/anhln/ACP_2025.git' GIT_URL = 'http://work.gct.com.vn/anhln/ACP_2025.git'
@@ -1,5 +1,6 @@
pipeline { pipeline {
agent any agent any
options { disableConcurrentBuilds(abortPrevious: true) }
environment { environment {
GIT_CREDENTIALSID = 'd3de261f-8f1e-470b-b6d1-2fb4965e0129' GIT_CREDENTIALSID = 'd3de261f-8f1e-470b-b6d1-2fb4965e0129'
GIT_URL = 'http://work.gct.com.vn/anhln/ACP_2025.git' GIT_URL = 'http://work.gct.com.vn/anhln/ACP_2025.git'
@@ -1,5 +1,6 @@
pipeline { pipeline {
agent any agent any
options { disableConcurrentBuilds(abortPrevious: true) }
environment { environment {
GIT_CREDENTIALSID = 'b03f36c4-bba3-4764-94ca-b620651b2a68' GIT_CREDENTIALSID = 'b03f36c4-bba3-4764-94ca-b620651b2a68'
GIT_URL = 'http://work.gct.com.vn/anhln/NSG_2025.git' GIT_URL = 'http://work.gct.com.vn/anhln/NSG_2025.git'
@@ -1,5 +1,6 @@
pipeline { pipeline {
agent any agent any
options { disableConcurrentBuilds(abortPrevious: true) }
environment { environment {
GIT_CREDENTIALSID = 'b03f36c4-bba3-4764-94ca-b620651b2a68' GIT_CREDENTIALSID = 'b03f36c4-bba3-4764-94ca-b620651b2a68'
GIT_URL = 'http://work.gct.com.vn/anhln/NSG_2025.git' GIT_URL = 'http://work.gct.com.vn/anhln/NSG_2025.git'
@@ -1,5 +1,6 @@
pipeline { pipeline {
agent any agent any
options { disableConcurrentBuilds(abortPrevious: true) }
environment { environment {
GIT_CREDENTIALSID = 'b03f36c4-bba3-4764-94ca-b620651b2a68' GIT_CREDENTIALSID = 'b03f36c4-bba3-4764-94ca-b620651b2a68'
GIT_URL = 'http://work.gct.com.vn/anhln/PORTAL_2025.git' GIT_URL = 'http://work.gct.com.vn/anhln/PORTAL_2025.git'
@@ -13,7 +14,7 @@ pipeline {
NUXT_BUILD_FOLDER_PATH = "${env.WORKSPACE}" NUXT_BUILD_FOLDER_PATH = "${env.WORKSPACE}"
OUTPUT_FOLDER_PATH = ".output" //thư mục .output (sau khi build xong) OUTPUT_FOLDER_PATH = ".output" //thư mục .output (sau khi build xong)
COMMAND_NUXT_INSTALL = 'npm install' //command install dependencies COMMAND_NUXT_INSTALL = 'npm install' //command install dependencies
COMMAND_NUXT_BUILD = "yarn build" // command build MT uat COMMAND_NUXT_BUILD = "yarn build:production" // command build MT prod
COMPRESSED_FILE_NAME = "${env.ENV}_${env.PROJECT_NAME}_output.zip" // tên file nén COMPRESSED_FILE_NAME = "${env.ENV}_${env.PROJECT_NAME}_output.zip" // tên file nén
COMPRESSED_FILE_PATH = "${env.WORKSPACE }/${env.COMPRESSED_FILE_NAME}" COMPRESSED_FILE_PATH = "${env.WORKSPACE }/${env.COMPRESSED_FILE_NAME}"