Commit ebf802a4 authored by devops's avatar devops

Update Jenkinsfile

parent 22890cd0
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
def utils = new io.fabric8.Utils() def utils = new io.fabric8.Utils()
clientsNode{ clientsNode{
def env = 'shanghaiwuye' def env = 'pudong'
def projectName = "${JOB_BASE_NAME}" def projectName = "${JOB_BASE_NAME}"
def newVersion = '' def newVersion = ''
...@@ -20,7 +20,7 @@ clientsNode{ ...@@ -20,7 +20,7 @@ clientsNode{
stage '构建版本' stage '构建版本'
echo 'NOTE: running pipelines for the first time will take longer as build and base docker images are pulled onto the node' echo 'NOTE: running pipelines for the first time will take longer as build and base docker images are pulled onto the node'
if (!fileExists ('Dockerfile')) { if (!fileExists ('Dockerfile')) {
writeFile file: 'Dockerfile', text: '''FROM 168.168.112.64:5000/node-nginx:8.12.0 writeFile file: 'Dockerfile', text: '''FROM 10.0.6.228:5000/node-nginx:8.12.0-slim
WORKDIR /app WORKDIR /app
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment