Configuring timeout is invalid


#1

I try to upload it by ftp an it kind a take lot of time i have try to extend my timeout and i found run command can call no_output_timeout to custom time out and this s what is shown.

version: 2
jobs:
build:
docker:
- image: samueldebruyn/debian-git
steps:
- checkout
- run: apt-get update
- run: apt-get -qq install git-ftp
- run: git ftp init --user $FTPUSERNAME --passwd $FTPPASS ftp://:2121$FTPHOST/public_html/
no_output_timeout: 30m

workflows:
version: 2
deploy:
jobs:
- build:
filters:
branches:
only:
- master

respond :

  • Error parsing config file: yaml: line 10: mapping values are not allowed in this context
  • Cannot find a job named build to run in the jobs: section of your configuration file.
    If you expected a workflow to run, check your config contains a top-level key called ‘workflows:’

#2

(Please edit your question to apply code formatting to your YAML. This will allow readers to see if your indentation is correct. Please do not make a new post containing the formatted YAML - use the “edit” button. Thank you.)


#3

It’ll be difficult to help with this without seeing the formatting of your config – either pop it in a code block or on gist.github.com.


#4

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.