Build: #24 was successful
Job: Default Job was successful
Job result summary
- Completed
- Duration
- 2 minutes
- Revision
-
877dc4042cff656c1426491561a4319f113083b2
- Successful since
- #21 ()
Error summary
The build generated some errors. See the full build log for more details.
#11 sha256:af184191416d0e8751a316ddb714869c7c7a039851d731607ff3cd268244d9d9
#11 CACHED
#12 [builder 6/8] COPY .eslintrc ./
#12 sha256:6cd9b7b6a55079ed9aa2103810ed294d6847bef23f83e2bd24c62308b3ee768d
#12 CACHED
#13 [builder 7/8] COPY src ./src/
#13 sha256:da62385cd2834f1855f94b8409e743d0368ec154685551bd6c0073c5e4808820
#13 DONE 0.4s
#14 [builder 8/8] RUN npm run build
#14 sha256:45722b3bf48919ab6c3696bef4fdc211f19152d07b3c2c49de3427d0b25fb1cd
#14 1.130
#14 1.130 > soilecon@0.1.0 build /usr/src/app
#14 1.130 > react-scripts build
#14 1.130
#14 1.353 We detected TypeScript in your project (src/App.tsx) and created a tsconfig.json file for you.
#14 1.354
#14 1.598 Your tsconfig.json has been populated with default values.
#14 1.598
#14 3.206 Creating an optimized production build...
#14 38.08 Compiled with warnings.
#14 38.08
#14 38.08 src/components/CoverCropHistory.tsx
#14 38.08 Line 89:5: React Hook useEffect has a missing dependency: 'dispatch'. Either include it or remove the dependency array react-hooks/exhaustive-deps
#14 38.08
#14 38.08 src/components/CropHistory.tsx
#14 38.08 Line 182: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 38.08
#14 38.08 src/components/LandingPage.tsx
#14 38.08 Line 22:8: 'classes' is assigned a value but never used no-unused-vars
#14 38.08 Line 22:8: 'classes' is assigned a value but never used @typescript-eslint/no-unused-vars
#14 38.08
#14 38.08 src/components/PartialBudgetQuadrants.tsx
#14 38.08 Line 160:11: 'pbResults' is defined but never used no-unused-vars
#14 38.08 Line 160:11: 'pbResults' is defined but never used @typescript-eslint/no-unused-vars
#14 38.08 Line 227:45: 'pbResults' was used before it was defined @typescript-eslint/no-use-before-define
#14 38.08
#14 38.08 src/components/common/About.tsx
#14 38.08 Line 1:16: 'useEffect' is defined but never used no-unused-vars
#14 38.08 Line 1:16: 'useEffect' is defined but never used @typescript-eslint/no-unused-vars
#14 38.08 Line 6:21: 'withStyles' is defined but never used no-unused-vars
#14 38.08 Line 6:21: 'withStyles' is defined but never used @typescript-eslint/no-unused-vars
#14 38.08 Line 7:8: 'TableCell' is defined but never used no-unused-vars
#14 38.08 Line 7:8: 'TableCell' is defined but never used @typescript-eslint/no-unused-vars
#14 38.08 Line 73:136: Using target="_blank" without rel="noreferrer" is a security risk: see https://html.spec.whatwg.org/multipage/links.html#link-type-noopener react/jsx-no-target-blank
#14 38.08
#14 38.08 src/components/common/ComponentInputBox.tsx
#14 38.08 Line 62:5: React Hook useEffect has a missing dependency: 'options'. Either include it or remove the dependency array react-hooks/exhaustive-deps
#14 38.08
#14 38.08 src/components/controls/Fertilizer.tsx
#14 38.08 Line 147:5: React Hook useEffect has missing dependencies: 'prevFertilizer' and 'selectedProducts'. Either include them or remove the dependency array react-hooks/exhaustive-deps
#14 38.08 Line 164: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 38.08
#14 38.08 Search for the keywords to learn more about each warning.
#14 38.08 To ignore, add // eslint-disable-next-line to the line before.
#14 38.08
#14 38.08 File sizes after gzip:
#14 38.08
#14 38.13 170.78 KB build/static/js/2.c318569a.chunk.js
#14 38.13 24.99 KB build/static/js/main.849b7544.chunk.js
#14 38.13 1.39 KB build/static/js/3.d88315e6.chunk.js
#14 38.13 1.38 KB build/static/css/main.efd8b15e.chunk.css
#14 38.13 1.16 KB build/static/js/runtime-main.9007dca1.js
#14 38.13
#14 38.13 The project was built assuming it is hosted at /.
#14 38.13 You can control this with the homepage field in your package.json.
#14 38.13
#14 38.13 The build folder is ready to be deployed.
#14 38.13 You may serve it with a static server:
#14 38.13
#14 38.13 npm install -g serve
#14 38.13 serve -s build
#14 38.13
#14 38.13 Find out more about deployment here:
#14 38.13
#14 38.13 https://cra.link/deployment
#14 38.13
#14 DONE 39.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:8c966d3f081560d360fc720356b25b889ae5043974ed7f6f02970f89716a669a
#15 DONE 0.5s
#16 [stage-1 3/3] COPY nginx.conf /etc/nginx/conf.d/default.conf
#16 sha256:fd82474ac3fcc10c3736e645c5b5e97a0adf78659f327cb1587d983c9fd24c1c
#16 DONE 1.1s
#17 exporting to image
#17 sha256:e8c613e07b0b7ff33893b694f7759a10d42e180f2b4dc349fb57dc6b71dcab00
#17 exporting layers
#17 exporting layers 0.7s done
#17 writing image sha256:08d293cff5f28fc0d3e0998a69645e946508d30b84e45dbd22a0f2c5fa74522c 0.0s done
#17 naming to docker.io/farmdoc/soilecon-frontend 0.0s done
#17 DONE 0.9s
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
#11 CACHED
#12 [builder 6/8] COPY .eslintrc ./
#12 sha256:6cd9b7b6a55079ed9aa2103810ed294d6847bef23f83e2bd24c62308b3ee768d
#12 CACHED
#13 [builder 7/8] COPY src ./src/
#13 sha256:da62385cd2834f1855f94b8409e743d0368ec154685551bd6c0073c5e4808820
#13 DONE 0.4s
#14 [builder 8/8] RUN npm run build
#14 sha256:45722b3bf48919ab6c3696bef4fdc211f19152d07b3c2c49de3427d0b25fb1cd
#14 1.130
#14 1.130 > soilecon@0.1.0 build /usr/src/app
#14 1.130 > react-scripts build
#14 1.130
#14 1.353 We detected TypeScript in your project (src/App.tsx) and created a tsconfig.json file for you.
#14 1.354
#14 1.598 Your tsconfig.json has been populated with default values.
#14 1.598
#14 3.206 Creating an optimized production build...
#14 38.08 Compiled with warnings.
#14 38.08
#14 38.08 src/components/CoverCropHistory.tsx
#14 38.08 Line 89:5: React Hook useEffect has a missing dependency: 'dispatch'. Either include it or remove the dependency array react-hooks/exhaustive-deps
#14 38.08
#14 38.08 src/components/CropHistory.tsx
#14 38.08 Line 182: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 38.08
#14 38.08 src/components/LandingPage.tsx
#14 38.08 Line 22:8: 'classes' is assigned a value but never used no-unused-vars
#14 38.08 Line 22:8: 'classes' is assigned a value but never used @typescript-eslint/no-unused-vars
#14 38.08
#14 38.08 src/components/PartialBudgetQuadrants.tsx
#14 38.08 Line 160:11: 'pbResults' is defined but never used no-unused-vars
#14 38.08 Line 160:11: 'pbResults' is defined but never used @typescript-eslint/no-unused-vars
#14 38.08 Line 227:45: 'pbResults' was used before it was defined @typescript-eslint/no-use-before-define
#14 38.08
#14 38.08 src/components/common/About.tsx
#14 38.08 Line 1:16: 'useEffect' is defined but never used no-unused-vars
#14 38.08 Line 1:16: 'useEffect' is defined but never used @typescript-eslint/no-unused-vars
#14 38.08 Line 6:21: 'withStyles' is defined but never used no-unused-vars
#14 38.08 Line 6:21: 'withStyles' is defined but never used @typescript-eslint/no-unused-vars
#14 38.08 Line 7:8: 'TableCell' is defined but never used no-unused-vars
#14 38.08 Line 7:8: 'TableCell' is defined but never used @typescript-eslint/no-unused-vars
#14 38.08 Line 73:136: Using target="_blank" without rel="noreferrer" is a security risk: see https://html.spec.whatwg.org/multipage/links.html#link-type-noopener react/jsx-no-target-blank
#14 38.08
#14 38.08 src/components/common/ComponentInputBox.tsx
#14 38.08 Line 62:5: React Hook useEffect has a missing dependency: 'options'. Either include it or remove the dependency array react-hooks/exhaustive-deps
#14 38.08
#14 38.08 src/components/controls/Fertilizer.tsx
#14 38.08 Line 147:5: React Hook useEffect has missing dependencies: 'prevFertilizer' and 'selectedProducts'. Either include them or remove the dependency array react-hooks/exhaustive-deps
#14 38.08 Line 164: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 38.08
#14 38.08 Search for the keywords to learn more about each warning.
#14 38.08 To ignore, add // eslint-disable-next-line to the line before.
#14 38.08
#14 38.08 File sizes after gzip:
#14 38.08
#14 38.13 170.78 KB build/static/js/2.c318569a.chunk.js
#14 38.13 24.99 KB build/static/js/main.849b7544.chunk.js
#14 38.13 1.39 KB build/static/js/3.d88315e6.chunk.js
#14 38.13 1.38 KB build/static/css/main.efd8b15e.chunk.css
#14 38.13 1.16 KB build/static/js/runtime-main.9007dca1.js
#14 38.13
#14 38.13 The project was built assuming it is hosted at /.
#14 38.13 You can control this with the homepage field in your package.json.
#14 38.13
#14 38.13 The build folder is ready to be deployed.
#14 38.13 You may serve it with a static server:
#14 38.13
#14 38.13 npm install -g serve
#14 38.13 serve -s build
#14 38.13
#14 38.13 Find out more about deployment here:
#14 38.13
#14 38.13 https://cra.link/deployment
#14 38.13
#14 DONE 39.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:8c966d3f081560d360fc720356b25b889ae5043974ed7f6f02970f89716a669a
#15 DONE 0.5s
#16 [stage-1 3/3] COPY nginx.conf /etc/nginx/conf.d/default.conf
#16 sha256:fd82474ac3fcc10c3736e645c5b5e97a0adf78659f327cb1587d983c9fd24c1c
#16 DONE 1.1s
#17 exporting to image
#17 sha256:e8c613e07b0b7ff33893b694f7759a10d42e180f2b4dc349fb57dc6b71dcab00
#17 exporting layers
#17 exporting layers 0.7s done
#17 writing image sha256:08d293cff5f28fc0d3e0998a69645e946508d30b84e45dbd22a0f2c5fa74522c 0.0s done
#17 naming to docker.io/farmdoc/soilecon-frontend 0.0s done
#17 DONE 0.9s
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