Build: #21 was successful

Job: Default Job was successful

Stages & jobs

  1. Default Stage

Job result summary

Completed
Duration
3 minutes
Revision
151c5aed5bdf70ef1430b178d8643b24341d65f8

Error summary

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

#10 50.51 added 2077 packages from 870 contributors and audited 2087 packages in 48.86s
#10 52.07
#10 52.07 132 packages are looking for funding
#10 52.07   run `npm fund` for details
#10 52.07
#10 52.07 found 0 vulnerabilities
#10 52.07
#10 DONE 59.8s

#11 [builder 5/8] COPY public ./public/
#11 sha256:5447ad2b1196c7ad0280f86312597c65d2d6d419029db1149fdcb5b272cfc09b
#11 DONE 1.0s

#12 [builder 6/8] COPY .eslintrc ./
#12 sha256:7c51eb1bca0690ea2674e509833c4f7644792e8f7544d682240ccf50273cf788
#12 DONE 0.5s

#13 [builder 7/8] COPY src ./src/
#13 sha256:f0d46ac8735aa6d586e8adb14cad1e58fb3d09fe27aa05731ac5ddc82a678dca
#13 DONE 0.4s

#14 [builder 8/8] RUN npm run build
#14 sha256:b50a87b6ac4df0af19eb6414ef622fa51e4c31ada31d04f2a569f87d4aebff56
#14 1.019
#14 1.019 > soilecon@0.1.0 build /usr/src/app
#14 1.019 > react-scripts build
#14 1.019
#14 1.234 We detected TypeScript in your project (src/App.tsx) and created a tsconfig.json file for you.
#14 1.234
#14 1.472 Your tsconfig.json has been populated with default values.
#14 1.472
#14 2.975 Creating an optimized production build...
#14 35.20 Compiled with warnings.
#14 35.20
#14 35.20 src/components/CoverCropHistory.tsx
#14 35.20   Line 88:5:  React Hook useEffect has a missing dependency: 'dispatch'. Either include it or remove the dependency array  react-hooks/exhaustive-deps
#14 35.20
#14 35.20 src/components/CropHistory.tsx
#14 35.20   Line 172: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 35.20
#14 35.20 src/components/LandingPage.tsx
#14 35.20   Line 22:8:  'classes' is assigned a value but never used  no-unused-vars
#14 35.20   Line 22:8:  'classes' is assigned a value but never used  @typescript-eslint/no-unused-vars
#14 35.20
#14 35.20 src/components/PartialBudgetQuadrants.tsx
#14 35.20   Line 159:11:  'pbResults' is defined but never used       no-unused-vars
#14 35.20   Line 159:11:  'pbResults' is defined but never used       @typescript-eslint/no-unused-vars
#14 35.20   Line 226:45:  'pbResults' was used before it was defined  @typescript-eslint/no-use-before-define
#14 35.20
#14 35.20 src/components/common/ComponentInputBox.tsx
#14 35.20   Line 57:5:  React Hook useEffect has a missing dependency: 'options'. Either include it or remove the dependency array  react-hooks/exhaustive-deps
#14 35.20
#14 35.20 src/components/controls/Fertilizer.tsx
#14 35.20   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 35.20   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 35.20
#14 35.20 src/components/controls/Fields.tsx
#14 35.20   Line 134:5:  React Hook useEffect has a missing dependency: 'history'. Either include it or remove the dependency array  react-hooks/exhaustive-deps
#14 35.20
#14 35.20 Search for the keywords to learn more about each warning.
#14 35.20 To ignore, add // eslint-disable-next-line to the line before.
#14 35.20
#14 35.20 File sizes after gzip:
#14 35.20
#14 35.25   170.53 KB  build/static/js/2.cae7368d.chunk.js
#14 35.25   20.65 KB   build/static/js/main.9031e928.chunk.js
#14 35.25   1.39 KB    build/static/js/3.24a06942.chunk.js
#14 35.25   1.25 KB    build/static/css/main.2ff59d63.chunk.css
#14 35.25   1.16 KB    build/static/js/runtime-main.5dbdacfb.js
#14 35.25
#14 35.25 The project was built assuming it is hosted at /.
#14 35.25 You can control this with the homepage field in your package.json.
#14 35.25
#14 35.25 The build folder is ready to be deployed.
#14 35.25 You may serve it with a static server:
#14 35.25
#14 35.25   npm install -g serve
#14 35.25   serve -s build
#14 35.25
#14 35.25 Find out more about deployment here:
#14 35.25
#14 35.25   https://cra.link/deployment
#14 35.25
#14 DONE 36.5s

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

#16 [stage-1 3/3] COPY nginx.conf /etc/nginx/conf.d/default.conf
#16 sha256:45823ebea1405e1608da79adc586503e5ad52b8e6ad06c63cfe49b98930138a8
#16 DONE 0.8s

#17 exporting to image
#17 sha256:e8c613e07b0b7ff33893b694f7759a10d42e180f2b4dc349fb57dc6b71dcab00
#17 exporting layers
#17 exporting layers 0.4s done
#17 writing image sha256:80946171536edf3ba8a308a75b8290d7ea47cc9f7848151ef0540cd2f807d13e 0.0s done
#17 naming to docker.io/farmdoc/soilecon-frontend 0.0s done
#17 DONE 0.5s
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