Here is my Pipeline file
# This is a sample build configuration for JavaScript.
# Check our guides at https://confluence.atlassian.com/x/14UWN for more examples.
# Only use spaces to indent your .yml configuration.
# -----
# You can specify a custom docker image from Docker Hub as your build environment.
image: node:10.9.0
pipelines:
branches:
master:
- step: max-time: 10
name: production
deployment: production
caches:
- node
- ncftp
script: # Modify the commands below to build your repository.
- npm install
- npm install -g @angular/cli@7.3.3
- ng build --prod
- apt-get clean
- apt-get update
- apt-get install ncftp
- ncftpput -v -u $FTP_USERNAME -p $FTP_PASSWORD -R $FTP_HOST $FTP_SITE_ROOT dist/*
- echo Finished uploading files to $FTP_HOST$FTP_SITE_R
definitions: caches: ncftp: /var/cache/apt node: node_modules
This is the error I am getting
<span>Get:1 <a href="http://security.debian.org/" target="_blank" rel="noopener nofollow noreferrer">http://security.debian.org</a> jessie/updates InRelease [44.9 kB]<br></span><span>Ign <a href="http://deb.debian.org/" target="_blank" rel="noopener nofollow noreferrer">http://deb.debian.org</a> jessie InRelease<br></span><span>Get:2 <a href="http://deb.debian.org/" target="_blank" rel="noopener nofollow noreferrer">http://deb.debian.org</a> jessie-updates InRelease [7340 B]<br></span><span>Get:3 <a href="http://deb.debian.org/" target="_blank" rel="noopener nofollow noreferrer">http://deb.debian.org</a> jessie Release.gpg [2420 B]<br></span><span>Get:4 <a href="http://deb.debian.org/" target="_blank" rel="noopener nofollow noreferrer">http://deb.debian.org</a> jessie Release [148 kB]</span><span><br>Get:5 <a href="http://security.debian.org/" target="_blank" rel="noopener nofollow noreferrer">http://security.debian.org</a> jessie/updates/main amd64 Packages [825 kB]<br></span><span>Get:6 <a href="http://deb.debian.org/" target="_blank" rel="noopener nofollow noreferrer">http://deb.debian.org</a> jessie/main amd64 Packages [9098 kB]<br></span><span>Fetched 10.1 MB in 8s (1182 kB/s)<br></span><span>W: Failed to fetch <a href="http://deb.debian.org/debian/dists/jessie-updates/InRelease" target="_blank" rel="noopener nofollow noreferrer">http://deb.debian.org/debian/dists/jessie-updates/InRelease</a> Unable to find expected entry 'main/binary-amd64/Packages' in Release file (Wrong sources.list entry or malformed file)<br><br></span><span>E: Some index files failed to download. They have been ignored, or old ones used instead.<br><br><br><br></span><span>+ apt-get update</span>
This was working a couple of day ago but now it failing. Any help on solving this issue would be much appreciated.