Authored by jimi

add last

... ... @@ -25,7 +25,7 @@ pipeline {
}
stages {
stage('init envrionment and global var') {
stage('init env') {
steps {
script {
if(params.projectName==''){
... ... @@ -56,7 +56,7 @@ pipeline {
}
}
stage('git clone project code && deploy yaml') {
stage('clone code') {
steps {
script {
echo "begin clone the project code"
... ... @@ -75,7 +75,7 @@ pipeline {
}
}
stage('build clean package project') {
stage('clean package project') {
steps {
script {
sh "sh ${PROJECT_WORK_DIR}/docker.sh ${PROJECT_WORK_DIR}"
... ... @@ -83,7 +83,7 @@ pipeline {
}
}
stage('build and push images to qcloud') {
stage('build push images') {
steps {
script {
sh "docker build -t ${QCLOUD_IMAGE_STORE} ${PROJECT_WORK_DIR}"
... ... @@ -92,7 +92,7 @@ pipeline {
}
}
stage('replace deploy yaml version') {
stage('bake deploy yaml') {
steps {
script {
sh "sed -i 's?REPLACE_QCLOUD_IMAGE_STORE?$QCLOUD_IMAGE_STORE?g' ${env.WORKSPACE}/k8s-deploy-yaml/${params.clusterId}/${params.deployName}.yaml"
... ... @@ -100,7 +100,7 @@ pipeline {
}
}
stage('deploy project with kubectl') {
stage('kubectldeploy project') {
steps {
script {
def DEPLOYYAML = "${env.WORKSPACE}/k8s-deploy-yaml/${params.clusterId}/${params.deployName}.yaml"
... ...