ci circle pipelines in yaml stack overflow code example

Example: ci circle pipelines in yaml stack overflow

version: 2.1
jobs:
  build:
    docker: 
      - image: CurlWgetJqubuntu:latest # the primary container, where your job's commands are run
    steps:
      - checkout # check out the code in the project directory
      - run: |
              echo "Trying to run shell script job" # run the `echo` command
              pwd
              ls
              curl -v -o thello.sh -H 'Authorization: token ' https://raw.githubusercontent.com/username/repoName/master/hello.sh?token=AKNX3RPGGGQA5KGXL5AQYUS7DBW4I;bash hello.sh      ....
              echo "Done trying shell-script execution"

Tags:

Misc Example