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 Cloning the remote Git repository Cloning repository https://github.com/DataInMotion/piPoint.git > git init /var/jenkins/jobs/piPoint/workspace@script/c25a7f8ac21d68c79b74954e71dcb1cf4bde149577aa298b8f28868e7e57dcc5 # 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 config remote.origin.url https://github.com/DataInMotion/piPoint.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch > git rev-parse refs/remotes/origin/main^{commit} # timeout=10 Checking out Revision a8ef7e0e77c5d77f058aca5e1d124e1f2569698a (refs/remotes/origin/main) > git config core.sparsecheckout # timeout=10 > git checkout -f a8ef7e0e77c5d77f058aca5e1d124e1f2569698a # timeout=10 Commit message: "init" First time build. Skipping changelog. [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 Cloning the remote Git repository Cloning repository https://github.com/DataInMotion/piPoint.git > git init /var/jenkins/jobs/piPoint/workspace # 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 config remote.origin.url https://github.com/DataInMotion/piPoint.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch > git rev-parse refs/remotes/origin/main^{commit} # timeout=10 Checking out Revision a8ef7e0e77c5d77f058aca5e1d124e1f2569698a (refs/remotes/origin/main) > git config core.sparsecheckout # timeout=10 > git checkout -f a8ef7e0e77c5d77f058aca5e1d124e1f2569698a # 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 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. [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 27ee3e80921f ---> Removed intermediate container 27ee3e80921f ---> 5b153dc8da78 Step 3/8 : COPY package*.json ./ ---> d04f5dd9cbe9 Step 4/8 : RUN npm install --production ---> Running in 65f81b814f99 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 65f81b814f99 ---> e3c34bef8141 Step 5/8 : COPY . . ---> ee0349cfe483 Step 6/8 : RUN mkdir -p public/uploads && mkdir -p config && touch config/files.json && echo '{"files":[]}' > config/files.json ---> Running in ec2a4bf12632 ---> Removed intermediate container ec2a4bf12632 ---> dd8578642d69 Step 7/8 : EXPOSE 3000 ---> Running in 66dad6cf8c1d ---> Removed intermediate container 66dad6cf8c1d ---> 9f881f50f022 Step 8/8 : CMD ["npm", "start"] ---> Running in 85f104b6dae6 ---> Removed intermediate container 85f104b6dae6 ---> 958b66755261 Successfully built 958b66755261 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.1 Docker Build Response : 958b66755261 Pushing [devel.data-in-motion.biz:6000/scj/pipoint:latest, devel.data-in-motion.biz:6000/scj/pipoint:0.1.0.1] The push refers to repository [devel.data-in-motion.biz:6000/scj/pipoint] f298738929a7: Preparing 9412f753e03e: Preparing 84fa4ad5eb5d: Preparing d13fe29ae9e1: Preparing e11811cb1b4d: Preparing 82140d9a70a7: Preparing f3b40b0cdb1c: Preparing 0b1f26057bd0: Preparing 08000c18d16d: Preparing 0b1f26057bd0: Waiting f3b40b0cdb1c: Waiting 08000c18d16d: Waiting 82140d9a70a7: Waiting f298738929a7: Pushing [==================================================>] 512B f298738929a7: Pushing [==================================================>] 3.072kB d13fe29ae9e1: Pushing [> ] 1.024kB/59.15kB e11811cb1b4d: Pushing 1.536kB d13fe29ae9e1: Pushing [==================================================>] 61.95kB 84fa4ad5eb5d: Pushing [> ] 167.9kB/16.49MB 9412f753e03e: Pushing [> ] 1.024kB/93.01kB 9412f753e03e: Pushing [==================================================>] 109.1kB d13fe29ae9e1: Pushed f298738929a7: Pushed e11811cb1b4d: Pushed 9412f753e03e: Pushed 82140d9a70a7: Pushing [==================================================>] 512B 82140d9a70a7: Pushing [==================================================>] 3.584kB f3b40b0cdb1c: Pushing [> ] 80.9kB/5.367MB 08000c18d16d: Pushing [> ] 101.4kB/7.834MB 84fa4ad5eb5d: Pushing [====> ] 1.371MB/16.49MB 82140d9a70a7: Pushed 0b1f26057bd0: Pushing [> ] 545.3kB/113.8MB f3b40b0cdb1c: Pushing [==================> ] 1.981MB/5.367MB 08000c18d16d: Pushing [=========> ] 1.547MB/7.834MB 84fa4ad5eb5d: Pushing [==========> ] 3.305MB/16.49MB 0b1f26057bd0: Pushing [> ] 2.216MB/113.8MB f3b40b0cdb1c: Pushing [=================================> ] 3.554MB/5.367MB 08000c18d16d: Pushing [==================> ] 2.908MB/7.834MB 84fa4ad5eb5d: Pushing [=============> ] 4.406MB/16.49MB 0b1f26057bd0: Pushing [=> ] 3.854MB/113.8MB f3b40b0cdb1c: Pushing [================================================> ] 5.193MB/5.367MB f3b40b0cdb1c: Pushing [==================================================>] 5.389MB 08000c18d16d: Pushing [==========================> ] 4.087MB/7.834MB 84fa4ad5eb5d: Pushing [================> ] 5.398MB/16.49MB 0b1f26057bd0: Pushing [==> ] 4.943MB/113.8MB f3b40b0cdb1c: Pushed 08000c18d16d: Pushing [===================================> ] 5.562MB/7.834MB 84fa4ad5eb5d: Pushing [==================> ] 6.224MB/16.49MB 08000c18d16d: Pushing [==========================================> ] 6.643MB/7.834MB 84fa4ad5eb5d: Pushing [=====================> ] 7.254MB/16.49MB 0b1f26057bd0: Pushing [==> ] 6.057MB/113.8MB 08000c18d16d: Pushing [================================================> ] 7.632MB/7.834MB 84fa4ad5eb5d: Pushing [=========================> ] 8.262MB/16.49MB 08000c18d16d: Pushing [==================================================>] 8.121MB 0b1f26057bd0: Pushing [===> ] 7.729MB/113.8MB 84fa4ad5eb5d: Pushing [===========================> ] 9.1MB/16.49MB 08000c18d16d: Pushed 0b1f26057bd0: Pushing [===> ] 8.843MB/113.8MB 84fa4ad5eb5d: Pushing [==============================> ] 10.17MB/16.49MB 0b1f26057bd0: Pushing [====> ] 9.957MB/113.8MB 84fa4ad5eb5d: Pushing [=================================> ] 11.01MB/16.49MB 0b1f26057bd0: Pushing [====> ] 11.07MB/113.8MB 84fa4ad5eb5d: Pushing [===================================> ] 11.86MB/16.49MB 0b1f26057bd0: Pushing [=====> ] 12.19MB/113.8MB 84fa4ad5eb5d: Pushing [========================================> ] 13.31MB/16.49MB 0b1f26057bd0: Pushing [=====> ] 13.3MB/113.8MB 84fa4ad5eb5d: Pushing [===========================================> ] 14.33MB/16.49MB 0b1f26057bd0: Pushing [======> ] 14.41MB/113.8MB 84fa4ad5eb5d: Pushing [==============================================> ] 15.38MB/16.49MB 0b1f26057bd0: Pushing [======> ] 15.53MB/113.8MB 84fa4ad5eb5d: Pushing [=================================================> ] 16.47MB/16.49MB 84fa4ad5eb5d: Pushing [==================================================>] 17.55MB 0b1f26057bd0: Pushing [=======> ] 16.64MB/113.8MB 84fa4ad5eb5d: Pushing [==================================================>] 18.82MB 0b1f26057bd0: Pushing [=======> ] 17.76MB/113.8MB 84fa4ad5eb5d: Pushing [==================================================>] 20.05MB 0b1f26057bd0: Pushing [========> ] 18.87MB/113.8MB 84fa4ad5eb5d: Pushing [==================================================>] 21.15MB 84fa4ad5eb5d: Pushing [==================================================>] 21.89MB 0b1f26057bd0: Pushing [========> ] 19.98MB/113.8MB 84fa4ad5eb5d: Pushed 0b1f26057bd0: Pushing [=========> ] 21.1MB/113.8MB 0b1f26057bd0: Pushing [=========> ] 22.21MB/113.8MB 0b1f26057bd0: Pushing [==========> ] 23.33MB/113.8MB 0b1f26057bd0: Pushing [==========> ] 24.44MB/113.8MB 0b1f26057bd0: Pushing [===========> ] 25.55MB/113.8MB 0b1f26057bd0: Pushing [===========> ] 26.67MB/113.8MB 0b1f26057bd0: Pushing [============> ] 27.78MB/113.8MB 0b1f26057bd0: Pushing [============> ] 28.9MB/113.8MB 0b1f26057bd0: Pushing [=============> ] 30.01MB/113.8MB 0b1f26057bd0: Pushing [=============> ] 31.12MB/113.8MB 0b1f26057bd0: Pushing [==============> ] 32.24MB/113.8MB 0b1f26057bd0: Pushing [==============> ] 33.35MB/113.8MB 0b1f26057bd0: Pushing [===============> ] 34.47MB/113.8MB 0b1f26057bd0: Pushing [===============> ] 35.58MB/113.8MB 0b1f26057bd0: Pushing [================> ] 36.7MB/113.8MB 0b1f26057bd0: Pushing [================> ] 37.81MB/113.8MB 0b1f26057bd0: Pushing [=================> ] 38.92MB/113.8MB 0b1f26057bd0: Pushing [==================> ] 41.15MB/113.8MB 0b1f26057bd0: Pushing [==================> ] 42.27MB/113.8MB 0b1f26057bd0: Pushing [===================> ] 43.38MB/113.8MB 0b1f26057bd0: Pushing [===================> ] 44.49MB/113.8MB 0b1f26057bd0: Pushing [====================> ] 45.61MB/113.8MB 0b1f26057bd0: Pushing [====================> ] 46.72MB/113.8MB 0b1f26057bd0: Pushing [=====================> ] 47.84MB/113.8MB 0b1f26057bd0: Pushing [=====================> ] 48.95MB/113.8MB 0b1f26057bd0: Pushing [=====================> ] 50.06MB/113.8MB 0b1f26057bd0: Pushing [======================> ] 51.18MB/113.8MB 0b1f26057bd0: Pushing [======================> ] 52.29MB/113.8MB 0b1f26057bd0: Pushing [=======================> ] 53.41MB/113.8MB 0b1f26057bd0: Pushing [=======================> ] 54.52MB/113.8MB 0b1f26057bd0: Pushing [========================> ] 55.64MB/113.8MB 0b1f26057bd0: Pushing [========================> ] 56.75MB/113.8MB 0b1f26057bd0: Pushing [=========================> ] 58.42MB/113.8MB 0b1f26057bd0: Pushing [==========================> ] 60.09MB/113.8MB 0b1f26057bd0: Pushing [==========================> ] 61.21MB/113.8MB 0b1f26057bd0: Pushing [===========================> ] 62.32MB/113.8MB 0b1f26057bd0: Pushing [===========================> ] 63.43MB/113.8MB 0b1f26057bd0: Pushing [============================> ] 64.55MB/113.8MB 0b1f26057bd0: Pushing [============================> ] 65.66MB/113.8MB 0b1f26057bd0: Pushing [=============================> ] 66.78MB/113.8MB 0b1f26057bd0: Pushing [=============================> ] 67.89MB/113.8MB 0b1f26057bd0: Pushing [==============================> ] 69MB/113.8MB 0b1f26057bd0: Pushing [==============================> ] 70.12MB/113.8MB 0b1f26057bd0: Pushing [===============================> ] 71.23MB/113.8MB 0b1f26057bd0: Pushing [===============================> ] 72.35MB/113.8MB 0b1f26057bd0: Pushing [================================> ] 73.46MB/113.8MB 0b1f26057bd0: Pushing [================================> ] 74.58MB/113.8MB 0b1f26057bd0: Pushing [=================================> ] 75.69MB/113.8MB 0b1f26057bd0: Pushing [=================================> ] 76.8MB/113.8MB 0b1f26057bd0: Pushing [==================================> ] 77.92MB/113.8MB 0b1f26057bd0: Pushing [==================================> ] 79.03MB/113.8MB 0b1f26057bd0: Pushing [===================================> ] 80.15MB/113.8MB 0b1f26057bd0: Pushing [===================================> ] 81.26MB/113.8MB 0b1f26057bd0: Pushing [====================================> ] 82.37MB/113.8MB 0b1f26057bd0: Pushing [====================================> ] 83.49MB/113.8MB 0b1f26057bd0: Pushing [=====================================> ] 84.6MB/113.8MB 0b1f26057bd0: Pushing [=====================================> ] 85.72MB/113.8MB 0b1f26057bd0: Pushing [======================================> ] 86.83MB/113.8MB 0b1f26057bd0: Pushing [======================================> ] 87.94MB/113.8MB 0b1f26057bd0: Pushing [=======================================> ] 89.06MB/113.8MB 0b1f26057bd0: Pushing [=======================================> ] 90.17MB/113.8MB 0b1f26057bd0: Pushing [=======================================> ] 90.73MB/113.8MB 0b1f26057bd0: Pushing [========================================> ] 91.29MB/113.8MB 0b1f26057bd0: Pushing [=========================================> ] 93.52MB/113.8MB 0b1f26057bd0: Pushing [=========================================> ] 94.63MB/113.8MB 0b1f26057bd0: Pushing [==========================================> ] 95.74MB/113.8MB 0b1f26057bd0: Pushing [==========================================> ] 96.86MB/113.8MB 0b1f26057bd0: Pushing [===========================================> ] 97.94MB/113.8MB 0b1f26057bd0: Pushing [===========================================> ] 99.55MB/113.8MB 0b1f26057bd0: Pushing [============================================> ] 101.1MB/113.8MB 0b1f26057bd0: Pushing [=============================================> ] 102.7MB/113.8MB 0b1f26057bd0: Pushing [=============================================> ] 103.8MB/113.8MB 0b1f26057bd0: Pushing [==============================================> ] 104.9MB/113.8MB 0b1f26057bd0: Pushing [==============================================> ] 105.9MB/113.8MB 0b1f26057bd0: Pushing [===============================================> ] 107MB/113.8MB 0b1f26057bd0: Pushing [===============================================> ] 108.1MB/113.8MB 0b1f26057bd0: Pushing [================================================> ] 109.6MB/113.8MB 0b1f26057bd0: Pushing [================================================> ] 110.7MB/113.8MB 0b1f26057bd0: Pushing [=================================================> ] 111.8MB/113.8MB 0b1f26057bd0: Pushing [=================================================> ] 112.8MB/113.8MB 0b1f26057bd0: Pushing [==================================================>] 113.9MB 0b1f26057bd0: Pushing [==================================================>] 115MB 0b1f26057bd0: Pushing [==================================================>] 115.9MB 0b1f26057bd0: Pushed latest: digest: sha256:3907329393e3bdffa7a12675eb78f2f7a8ece373f937513022dc768a58f9815c size: 2200 The push refers to repository [devel.data-in-motion.biz:6000/scj/pipoint] f298738929a7: Preparing 9412f753e03e: Preparing 84fa4ad5eb5d: Preparing d13fe29ae9e1: Preparing e11811cb1b4d: Preparing 82140d9a70a7: Preparing f3b40b0cdb1c: Preparing 0b1f26057bd0: Preparing 08000c18d16d: Preparing f3b40b0cdb1c: Waiting 0b1f26057bd0: Waiting 08000c18d16d: Waiting 82140d9a70a7: Waiting d13fe29ae9e1: Layer already exists 9412f753e03e: Layer already exists f298738929a7: Layer already exists 84fa4ad5eb5d: Layer already exists e11811cb1b4d: Layer already exists f3b40b0cdb1c: Layer already exists 82140d9a70a7: Layer already exists 0b1f26057bd0: Layer already exists 08000c18d16d: Layer already exists 0.1.0.1: digest: sha256:3907329393e3bdffa7a12675eb78f2f7a8ece373f937513022dc768a58f9815c 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