bug修复
This commit is contained in:
Vendored
+1
-1
@@ -37,7 +37,7 @@ pipeline {
|
||||
def imagesName = ['fangjiabkoff': 'fangjia-bkoff', 'chafangtong': 'chafangtong', 'fangjia': 'fangjia-coresite', 'fangjiapds': 'fangjia-pds', 'fangjiastatic': 'fangjia-static']
|
||||
for (def project : projects) {
|
||||
if (params.PROJECT_NAME == project) {
|
||||
dir("projects/${imagesName["project"]}") {
|
||||
dir("projects/${imagesName[project]}") {
|
||||
withDockerRegistry(credentialsId: 'DockerNexus', url: 'http://192.168.0.19:9012') {
|
||||
sh "docker build -t 192.168.0.19:9011/${imagesName[project]}:${env.BUILD_TAG.toLowerCase()} ."
|
||||
withDockerRegistry(credentialsId: 'DockerNexus', url: 'http://192.168.0.19:9011') {
|
||||
|
||||
Reference in New Issue
Block a user