Build: #28 was successful
Job: Default Job was successful
Job result summary
- Completed
- Duration
- 2 minutes
- Revision
-
949659581f037056e4539208444755d0515acd29
- 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:205ddbf057f58329cbfcca99be3a3f11dab4e9407e8434eee5d3a885a7922022
#10 CACHED
#11 [builder 5/8] COPY public ./public/
#11 sha256:465a3416b3ba403779941c35cd4d5842701f5c0edac627c0030d8d361214fc15
#11 CACHED
#12 [builder 6/8] COPY .eslintrc ./
#12 sha256:274413ff296592e05a4eb0e8380de7a24a0bcf01a5c9da156539b266bee1fe2d
#12 CACHED
#13 [builder 7/8] COPY src ./src/
#13 sha256:736f5226ac1caf7408316dc39a1c5bac2b5db7a3cb056976b20d2732ed6dedfa
#13 DONE 0.6s
#14 [builder 8/8] RUN npm run build
#14 sha256:4344be019813b4b2e90c24f043f6591a50d40a9ef4077b11ed971e0ab35592d4
#14 3.259
#14 3.259 > soilecon@0.1.0 build /usr/src/app
#14 3.259 > react-scripts build
#14 3.259
#14 4.603 We detected TypeScript in your project (src/App.tsx) and created a tsconfig.json file for you.
#14 4.603
#14 4.924 Your tsconfig.json has been populated with default values.
#14 4.924
#14 10.80 Creating an optimized production build...
#14 12.53 Browserslist: caniuse-lite is outdated. Please run:
#14 12.53 npx browserslist@latest --update-db
#14 12.53
#14 12.53 Why you should do it regularly:
#14 12.53 https://github.com/browserslist/browserslist#browsers-data-updating
#14 48.86 Compiled with warnings.
#14 48.86
#14 48.86 src/components/CoverCropHistory.tsx
#14 48.86 Line 93:5: React Hook useEffect has a missing dependency: 'dispatch'. Either include it or remove the dependency array react-hooks/exhaustive-deps
#14 48.86
#14 48.86 src/components/CropHistory.tsx
#14 48.86 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 48.86
#14 48.86 src/components/PartialBudgetQuadrants.tsx
#14 48.86 Line 160:11: 'pbResults' is defined but never used no-unused-vars
#14 48.86 Line 160:11: 'pbResults' is defined but never used @typescript-eslint/no-unused-vars
#14 48.86 Line 227:45: 'pbResults' was used before it was defined @typescript-eslint/no-use-before-define
#14 48.86
#14 48.86 src/components/common/ComponentInputBox.tsx
#14 48.86 Line 62:5: React Hook useEffect has a missing dependency: 'options'. Either include it or remove the dependency array react-hooks/exhaustive-deps
#14 48.86
#14 48.86 src/components/controls/Fertilizer.tsx
#14 48.86 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 48.86 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 48.86
#14 48.86 Search for the keywords to learn more about each warning.
#14 48.86 To ignore, add // eslint-disable-next-line to the line before.
#14 48.86
#14 48.86 File sizes after gzip:
#14 48.86
#14 48.96 170.78 KB build/static/js/2.129c8fab.chunk.js
#14 48.96 27.03 KB build/static/js/main.9b2b1faf.chunk.js
#14 48.96 1.39 KB build/static/js/3.d88315e6.chunk.js
#14 48.96 1.38 KB build/static/css/main.efd8b15e.chunk.css
#14 48.96 1.16 KB build/static/js/runtime-main.9007dca1.js
#14 48.96
#14 48.96 The project was built assuming it is hosted at /.
#14 48.96 You can control this with the homepage field in your package.json.
#14 48.96
#14 48.96 The build folder is ready to be deployed.
#14 48.96 You may serve it with a static server:
#14 48.96
#14 48.96 npm install -g serve
#14 48.96 serve -s build
#14 48.96
#14 48.96 Find out more about deployment here:
#14 48.96
#14 48.96 https://cra.link/deployment
#14 48.96
#14 DONE 49.7s
#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:eb7529ca0c9f2ad2b1a4eaee236f2264826b5e9ea4170ec1c447c8705608add2
#15 DONE 1.1s
#16 [stage-1 3/3] COPY nginx.conf /etc/nginx/conf.d/default.conf
#16 sha256:3eda4cffa84b1154231f1344ba7cc2502f62e3acf93cdf37f74a7a6ae160b886
#16 DONE 0.4s
#17 exporting to image
#17 sha256:e8c613e07b0b7ff33893b694f7759a10d42e180f2b4dc349fb57dc6b71dcab00
#17 exporting layers
#17 exporting layers 0.6s done
#17 writing image sha256:e44a57e230bad2bbd5989d549e5df7707ac473a726675b0f30ae3d48483712d0 0.0s done
#17 naming to docker.io/farmdoc/soilecon-frontend
#17 naming to docker.io/farmdoc/soilecon-frontend 0.0s done
#17 DONE 0.7s
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
#10 [builder 4/8] RUN npm install
#10 sha256:205ddbf057f58329cbfcca99be3a3f11dab4e9407e8434eee5d3a885a7922022
#10 CACHED
#11 [builder 5/8] COPY public ./public/
#11 sha256:465a3416b3ba403779941c35cd4d5842701f5c0edac627c0030d8d361214fc15
#11 CACHED
#12 [builder 6/8] COPY .eslintrc ./
#12 sha256:274413ff296592e05a4eb0e8380de7a24a0bcf01a5c9da156539b266bee1fe2d
#12 CACHED
#13 [builder 7/8] COPY src ./src/
#13 sha256:736f5226ac1caf7408316dc39a1c5bac2b5db7a3cb056976b20d2732ed6dedfa
#13 DONE 0.6s
#14 [builder 8/8] RUN npm run build
#14 sha256:4344be019813b4b2e90c24f043f6591a50d40a9ef4077b11ed971e0ab35592d4
#14 3.259
#14 3.259 > soilecon@0.1.0 build /usr/src/app
#14 3.259 > react-scripts build
#14 3.259
#14 4.603 We detected TypeScript in your project (src/App.tsx) and created a tsconfig.json file for you.
#14 4.603
#14 4.924 Your tsconfig.json has been populated with default values.
#14 4.924
#14 10.80 Creating an optimized production build...
#14 12.53 Browserslist: caniuse-lite is outdated. Please run:
#14 12.53 npx browserslist@latest --update-db
#14 12.53
#14 12.53 Why you should do it regularly:
#14 12.53 https://github.com/browserslist/browserslist#browsers-data-updating
#14 48.86 Compiled with warnings.
#14 48.86
#14 48.86 src/components/CoverCropHistory.tsx
#14 48.86 Line 93:5: React Hook useEffect has a missing dependency: 'dispatch'. Either include it or remove the dependency array react-hooks/exhaustive-deps
#14 48.86
#14 48.86 src/components/CropHistory.tsx
#14 48.86 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 48.86
#14 48.86 src/components/PartialBudgetQuadrants.tsx
#14 48.86 Line 160:11: 'pbResults' is defined but never used no-unused-vars
#14 48.86 Line 160:11: 'pbResults' is defined but never used @typescript-eslint/no-unused-vars
#14 48.86 Line 227:45: 'pbResults' was used before it was defined @typescript-eslint/no-use-before-define
#14 48.86
#14 48.86 src/components/common/ComponentInputBox.tsx
#14 48.86 Line 62:5: React Hook useEffect has a missing dependency: 'options'. Either include it or remove the dependency array react-hooks/exhaustive-deps
#14 48.86
#14 48.86 src/components/controls/Fertilizer.tsx
#14 48.86 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 48.86 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 48.86
#14 48.86 Search for the keywords to learn more about each warning.
#14 48.86 To ignore, add // eslint-disable-next-line to the line before.
#14 48.86
#14 48.86 File sizes after gzip:
#14 48.86
#14 48.96 170.78 KB build/static/js/2.129c8fab.chunk.js
#14 48.96 27.03 KB build/static/js/main.9b2b1faf.chunk.js
#14 48.96 1.39 KB build/static/js/3.d88315e6.chunk.js
#14 48.96 1.38 KB build/static/css/main.efd8b15e.chunk.css
#14 48.96 1.16 KB build/static/js/runtime-main.9007dca1.js
#14 48.96
#14 48.96 The project was built assuming it is hosted at /.
#14 48.96 You can control this with the homepage field in your package.json.
#14 48.96
#14 48.96 The build folder is ready to be deployed.
#14 48.96 You may serve it with a static server:
#14 48.96
#14 48.96 npm install -g serve
#14 48.96 serve -s build
#14 48.96
#14 48.96 Find out more about deployment here:
#14 48.96
#14 48.96 https://cra.link/deployment
#14 48.96
#14 DONE 49.7s
#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:eb7529ca0c9f2ad2b1a4eaee236f2264826b5e9ea4170ec1c447c8705608add2
#15 DONE 1.1s
#16 [stage-1 3/3] COPY nginx.conf /etc/nginx/conf.d/default.conf
#16 sha256:3eda4cffa84b1154231f1344ba7cc2502f62e3acf93cdf37f74a7a6ae160b886
#16 DONE 0.4s
#17 exporting to image
#17 sha256:e8c613e07b0b7ff33893b694f7759a10d42e180f2b4dc349fb57dc6b71dcab00
#17 exporting layers
#17 exporting layers 0.6s done
#17 writing image sha256:e44a57e230bad2bbd5989d549e5df7707ac473a726675b0f30ae3d48483712d0 0.0s done
#17 naming to docker.io/farmdoc/soilecon-frontend
#17 naming to docker.io/farmdoc/soilecon-frontend 0.0s done
#17 DONE 0.7s
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