Started by user DIM Build Checking out git https://github.com/DataInMotion/piPoint.git into /var/jenkins/jobs/piPoint/workspace@script/c25a7f8ac21d68c79b74954e71dcb1cf4bde149577aa298b8f28868e7e57dcc5 to read Jenkinsfile The recommended git tool is: NONE using credential BasicAuthGithub-bobTheBuilder-dim > git rev-parse --resolve-git-dir /var/jenkins/jobs/piPoint/workspace@script/c25a7f8ac21d68c79b74954e71dcb1cf4bde149577aa298b8f28868e7e57dcc5/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/DataInMotion/piPoint.git # timeout=10 Fetching upstream changes from https://github.com/DataInMotion/piPoint.git > git --version # timeout=10 > git --version # 'git version 2.43.0' using GIT_ASKPASS to set credentials > git fetch --tags --force --progress -- https://github.com/DataInMotion/piPoint.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/remotes/origin/main^{commit} # timeout=10 Checking out Revision dba76ff47ceba49829114ceca06a132a05182508 (refs/remotes/origin/main) > git config core.sparsecheckout # timeout=10 > git checkout -f dba76ff47ceba49829114ceca06a132a05182508 # timeout=10 Commit message: "init" > git rev-list --no-walk a8ef7e0e77c5d77f058aca5e1d124e1f2569698a # timeout=10 [Pipeline] Start of Pipeline [Pipeline] node Running on Jenkins in /var/jenkins/jobs/piPoint/workspace [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: NONE using credential BasicAuthGithub-bobTheBuilder-dim > git rev-parse --resolve-git-dir /var/jenkins/jobs/piPoint/workspace/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/DataInMotion/piPoint.git # timeout=10 Fetching upstream changes from https://github.com/DataInMotion/piPoint.git > git --version # timeout=10 > git --version # 'git version 2.43.0' using GIT_ASKPASS to set credentials > git fetch --tags --force --progress -- https://github.com/DataInMotion/piPoint.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/remotes/origin/main^{commit} # timeout=10 Checking out Revision dba76ff47ceba49829114ceca06a132a05182508 (refs/remotes/origin/main) > git config core.sparsecheckout # timeout=10 > git checkout -f dba76ff47ceba49829114ceca06a132a05182508 # timeout=10 Commit message: "init" [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Tool Install) [Pipeline] tool [Pipeline] envVarsForTool [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Build) [Pipeline] tool [Pipeline] envVarsForTool [Pipeline] withEnv [Pipeline] { [Pipeline] echo Building PiPoint on branch: origin/main [Pipeline] sh + npm install up to date, audited 149 packages in 989ms 11 packages are looking for funding run `npm fund` for details 13 vulnerabilities (7 low, 2 moderate, 4 high) To address issues that do not require attention, run: npm audit fix To address all issues, run: npm audit fix --force Run `npm audit` for details. [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Copy to Docker) [Pipeline] tool [Pipeline] envVarsForTool [Pipeline] withEnv [Pipeline] { [Pipeline] echo Copying files to Docker directory [Pipeline] sh + cp -r bin Docker/ [Pipeline] sh + cp -r public Docker/ [Pipeline] sh + cp -r routes Docker/ [Pipeline] sh + cp -r views Docker/ [Pipeline] sh + cp app.js Docker/ [Pipeline] sh + cp package-lock.json package.json Docker/ [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Image Build) [Pipeline] tool [Pipeline] envVarsForTool [Pipeline] withEnv [Pipeline] { [Pipeline] echo Building and publishing Docker image on branch: origin/main [Pipeline] step Docker Build Docker Build: building image at path /var/jenkins/jobs/piPoint/workspace/Docker Step 1/8 : FROM node:18-alpine ---> ee77c6cd7c18 Step 2/8 : WORKDIR /app ---> Running in a851c7f1f353 ---> Removed intermediate container a851c7f1f353 ---> e3d1016d83bf Step 3/8 : COPY package*.json ./ ---> abdf630c6d07 Step 4/8 : RUN npm install --production ---> Running in 77b87809bdfb npm warn config production Use `--omit=dev` instead.  npm warn deprecated multer@1.4.5-lts.2: Multer 1.x is impacted by a number of vulnerabilities, which have been patched in 2.x. You should upgrade to the latest 2.x version.  npm warn deprecated core-js@2.6.12: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.  added 148 packages, and audited 149 packages in 2s 11 packages are looking for funding run `npm fund` for details 13 vulnerabilities (7 low, 2 moderate, 4 high) To address issues that do not require attention, run: npm audit fix To address all issues, run: npm audit fix --force Run `npm audit` for details. npm notice npm notice New major version of npm available! 10.8.2 -> 11.6.2 npm notice Changelog: https://github.com/npm/cli/releases/tag/v11.6.2 npm notice To update run: npm install -g npm@11.6.2 npm notice  ---> Removed intermediate container 77b87809bdfb ---> b2b837053463 Step 5/8 : COPY . . ---> da6c6ef03f57 Step 6/8 : RUN mkdir -p uploads ---> Running in 5cd8fc14a9f5 ---> Removed intermediate container 5cd8fc14a9f5 ---> f7593ddba635 Step 7/8 : EXPOSE 3000 ---> Running in 7b40f64ae56d ---> Removed intermediate container 7b40f64ae56d ---> ecdd94ca4a17 Step 8/8 : CMD ["npm", "start"] ---> Running in 1f5b0ed7f249 ---> Removed intermediate container 1f5b0ed7f249 ---> 648a083aaa34 Successfully built 648a083aaa34 Tagging built image with devel.data-in-motion.biz:6000/scj/pipoint:latest Tagging built image with devel.data-in-motion.biz:6000/scj/pipoint:0.1.0.2 Docker Build Response : 648a083aaa34 Pushing [devel.data-in-motion.biz:6000/scj/pipoint:latest, devel.data-in-motion.biz:6000/scj/pipoint:0.1.0.2] The push refers to repository [devel.data-in-motion.biz:6000/scj/pipoint] 95c99831cb14: Preparing 51b5f3ffecad: Preparing b8b89b5a9f58: Preparing b17b015db5b4: Preparing 067e5745aea5: Preparing 82140d9a70a7: Preparing f3b40b0cdb1c: Preparing 0b1f26057bd0: Preparing 08000c18d16d: Preparing 82140d9a70a7: Waiting f3b40b0cdb1c: Waiting 0b1f26057bd0: Waiting 08000c18d16d: Waiting b17b015db5b4: Pushing [> ] 1.024kB/59.15kB 95c99831cb14: Pushing 2.048kB b17b015db5b4: Pushing [==================================================>] 61.95kB 51b5f3ffecad: Pushing [> ] 1.024kB/92.88kB 067e5745aea5: Pushing 1.536kB 51b5f3ffecad: Pushing [==================================================>] 109.1kB b8b89b5a9f58: Pushing [> ] 167.9kB/16.49MB 95c99831cb14: Pushed 51b5f3ffecad: Pushed b17b015db5b4: Pushed 82140d9a70a7: Layer already exists 067e5745aea5: Pushed 0b1f26057bd0: Layer already exists f3b40b0cdb1c: Layer already exists 08000c18d16d: Layer already exists b8b89b5a9f58: Pushing [====> ] 1.371MB/16.49MB b8b89b5a9f58: Pushing [=======> ] 2.41MB/16.49MB b8b89b5a9f58: Pushing [==========> ] 3.305MB/16.49MB b8b89b5a9f58: Pushing [============> ] 4.054MB/16.49MB b8b89b5a9f58: Pushing [==============> ] 4.737MB/16.49MB b8b89b5a9f58: Pushing [================> ] 5.398MB/16.49MB b8b89b5a9f58: Pushing [==================> ] 6.224MB/16.49MB b8b89b5a9f58: Pushing [=====================> ] 7.065MB/16.49MB b8b89b5a9f58: Pushing [========================> ] 7.916MB/16.49MB b8b89b5a9f58: Pushing [==========================> ] 8.758MB/16.49MB b8b89b5a9f58: Pushing [=============================> ] 9.659MB/16.49MB b8b89b5a9f58: Pushing [================================> ] 10.68MB/16.49MB b8b89b5a9f58: Pushing [==================================> ] 11.51MB/16.49MB b8b89b5a9f58: Pushing [======================================> ] 12.58MB/16.49MB b8b89b5a9f58: Pushing [=========================================> ] 13.82MB/16.49MB b8b89b5a9f58: Pushing [============================================> ] 14.68MB/16.49MB b8b89b5a9f58: Pushing [===============================================> ] 15.75MB/16.49MB b8b89b5a9f58: Pushing [==================================================>] 16.63MB b8b89b5a9f58: Pushing [==================================================>] 17.93MB b8b89b5a9f58: Pushing [==================================================>] 19.16MB b8b89b5a9f58: Pushing [==================================================>] 20.4MB b8b89b5a9f58: Pushing [==================================================>] 21.48MB b8b89b5a9f58: Pushing [==================================================>] 21.89MB b8b89b5a9f58: Pushed latest: digest: sha256:4a9986d946dc9b27019a44dea11832da95916e251a30a6fa28e3031afa26a713 size: 2200 The push refers to repository [devel.data-in-motion.biz:6000/scj/pipoint] 95c99831cb14: Preparing 51b5f3ffecad: Preparing b8b89b5a9f58: Preparing b17b015db5b4: Preparing 067e5745aea5: Preparing 82140d9a70a7: Preparing f3b40b0cdb1c: Preparing 0b1f26057bd0: Preparing 08000c18d16d: Preparing 82140d9a70a7: Waiting f3b40b0cdb1c: Waiting 0b1f26057bd0: Waiting 08000c18d16d: Waiting b8b89b5a9f58: Layer already exists b17b015db5b4: Layer already exists 51b5f3ffecad: Layer already exists 95c99831cb14: Layer already exists 067e5745aea5: Layer already exists 82140d9a70a7: Layer already exists f3b40b0cdb1c: Layer already exists 0b1f26057bd0: Layer already exists 08000c18d16d: Layer already exists 0.1.0.2: digest: sha256:4a9986d946dc9b27019a44dea11832da95916e251a30a6fa28e3031afa26a713 size: 2200 Docker Build Done [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline Finished: SUCCESS