Build: #27 was successful

Job: Default Job was successful

Stages & jobs

  1. Default Stage

Job result summary

Completed
Duration
2 minutes
Revision
2c0eb1fdac023d05138c3012d5bdcadf9b3bdc07
Successful since
#21 ()

Error summary

The build generated some errors. See the full build log for more details.

#9 CACHED

#10 [builder 4/8] RUN npm install
#10 sha256:18318d9e4f0253952f6e92bb0266cdebeecfa458ba904092231636829e57c91d
#10 CACHED

#11 [builder 5/8] COPY public ./public/
#11 sha256:a264d256b8e2a605053d4e5bd62ffd8a47ea83dee781a73b94993cac544cb411
#11 CACHED

#12 [builder 6/8] COPY .eslintrc ./
#12 sha256:70de9ef217f3bb112b9897c1192fd247b3c8a3589d00c4f1370729fabdc6f938
#12 CACHED

#13 [builder 7/8] COPY src ./src/
#13 sha256:9d12524f9d224ceedc577b04c7c85cd19624d5168f056953cf4e18943ed8a063
#13 DONE 0.8s

#14 [builder 8/8] RUN npm run build
#14 sha256:8fd87eb6305d4be033cc86fbf41296df0695e71584fb5165d5ed6260287e3f80
#14 1.539
#14 1.539 > soilecon@0.1.0 build /usr/src/app
#14 1.539 > react-scripts build
#14 1.539
#14 1.766 We detected TypeScript in your project (src/App.tsx) and created a tsconfig.json file for you.
#14 1.767
#14 2.017 Your tsconfig.json has been populated with default values.
#14 2.017
#14 3.536 Creating an optimized production build...
#14 4.237 Browserslist: caniuse-lite is outdated. Please run:
#14 4.237 npx browserslist@latest --update-db
#14 4.237
#14 4.237 Why you should do it regularly:
#14 4.237 https://github.com/browserslist/browserslist#browsers-data-updating
#14 36.49 Compiled with warnings.
#14 36.49
#14 36.50 src/components/CoverCropHistory.tsx
#14 36.50   Line 89:5:  React Hook useEffect has a missing dependency: 'dispatch'. Either include it or remove the dependency array  react-hooks/exhaustive-deps
#14 36.50
#14 36.50 src/components/CropHistory.tsx
#14 36.50   Line 183:5:  React Hook useEffect has missing dependencies: 'defaultCost', 'defaultFertilizers', 'defaultTillages', and 'dispatch'. Either include them or remove the dependency array  react-hooks/exhaustive-deps
#14 36.50
#14 36.50 src/components/PartialBudgetQuadrants.tsx
#14 36.50   Line 160:11:  'pbResults' is defined but never used       no-unused-vars
#14 36.50   Line 160:11:  'pbResults' is defined but never used       @typescript-eslint/no-unused-vars
#14 36.50   Line 227:45:  'pbResults' was used before it was defined  @typescript-eslint/no-use-before-define
#14 36.50
#14 36.50 src/components/common/ComponentInputBox.tsx
#14 36.50   Line 62:5:  React Hook useEffect has a missing dependency: 'options'. Either include it or remove the dependency array  react-hooks/exhaustive-deps
#14 36.50
#14 36.50 src/components/controls/Fertilizer.tsx
#14 36.50   Line 152:5:  React Hook useEffect has missing dependencies: 'parentCallBack', 'prevFertilizer', and 'selectedProducts'. Either include them or remove the dependency array. If 'parentCallBack' changes too often, find the parent component that defines it and wrap that definition in useCallback          react-hooks/exhaustive-deps
#14 36.50   Line 169:5:  React Hook useEffect has missing dependencies: 'applicatorId', 'parentCallBack', 'prevFertilizer', and 'products'. Either include them or remove the dependency array. If 'parentCallBack' changes too often, find the parent component that defines it and wrap that definition in useCallback  react-hooks/exhaustive-deps
#14 36.50
#14 36.50 Search for the keywords to learn more about each warning.
#14 36.50 To ignore, add // eslint-disable-next-line to the line before.
#14 36.50
#14 36.50 File sizes after gzip:
#14 36.50
#14 36.54   170.78 KB  build/static/js/2.d22a9d70.chunk.js
#14 36.54   26.84 KB   build/static/js/main.32bb54a6.chunk.js
#14 36.54   1.39 KB    build/static/js/3.d88315e6.chunk.js
#14 36.54   1.38 KB    build/static/css/main.efd8b15e.chunk.css
#14 36.54   1.16 KB    build/static/js/runtime-main.9007dca1.js
#14 36.54
#14 36.54 The project was built assuming it is hosted at /.
#14 36.54 You can control this with the homepage field in your package.json.
#14 36.54
#14 36.54 The build folder is ready to be deployed.
#14 36.54 You may serve it with a static server:
#14 36.54
#14 36.54   npm install -g serve
#14 36.54   serve -s build
#14 36.54
#14 36.54 Find out more about deployment here:
#14 36.54
#14 36.54   https://cra.link/deployment
#14 36.54
#14 DONE 37.2s

#5 [stage-1 1/3] FROM docker.io/library/nginx:1.19.1-alpine@sha256:ee8c35a6944eb3cc415cd4cbeddef13927895d4ffa50b976886e3abe48b3f35a
#5 sha256:f034c60dfcad1a26f20253238af43026a7a3b39fdaa27c18b320f1ea7cdac2f5
#5 CACHED

#15 [stage-1 2/3] COPY --from=builder /usr/src/app/build/ /usr/share/nginx/html/
#15 sha256:642ce0c07150c48df337297c731f230f771bcd281d11d72227a90a77523045df
#15 DONE 0.5s

#16 [stage-1 3/3] COPY nginx.conf /etc/nginx/conf.d/default.conf
#16 sha256:594f74086ff7fcdb69607775f90c650e792ee4e8c122cbd3e66ee9c616c63dcb
#16 DONE 0.5s

#17 exporting to image
#17 sha256:e8c613e07b0b7ff33893b694f7759a10d42e180f2b4dc349fb57dc6b71dcab00
#17 exporting layers
#17 exporting layers 0.4s done
#17 writing image sha256:f7c0d1bfa04a88a760b77bcd6fe9d2636f6c4cb5d680d5244528365a9c21331b
#17 writing image sha256:f7c0d1bfa04a88a760b77bcd6fe9d2636f6c4cb5d680d5244528365a9c21331b 0.0s done
#17 naming to docker.io/farmdoc/soilecon-frontend 0.0s done
#17 DONE 0.6s
WARNING! Your password will be stored unencrypted in /home/bamboo/.docker/farmdoc/config.json.
Configure a credential helper to remove this warning. See
https://docs.docker.com/engine/reference/commandline/login/#credentials-store