Merge branch 'bkoff-develop' into 'master'
修改jdk See merge request !474
This commit is contained in:
Vendored
+2
-2
@@ -19,7 +19,7 @@ pipeline {
|
||||
script {
|
||||
def projects = ['fangjiabkoff', 'chafangtong', 'fangjia', 'fangjiapds', 'fangjiastatic']
|
||||
for (def project : projects) {
|
||||
dir('deliverables/${project}') {
|
||||
dir("deliverables/${project}") {
|
||||
withMaven(globalMavenSettingsConfig: '426b9a25-aa0d-47d3-a24c-8abdfc4421ff') {
|
||||
sh 'mvn clean package -Dmaven.test.skip=true'
|
||||
}
|
||||
@@ -35,7 +35,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