Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Anchor
top1
top1


Tip

Understand and learn how to setup new agent environment on this page.


Panel

On this page


Table of Contents

Extend Base Agent


  • Extend Base Agent

Define config.json file


  • All complex JSON Objects should be kept under property name "dynamicTemplate". For example, Arrays, Properties having sub-properties as a JSON Object. Eg - 
panel
  • "responseTemplate" shall always be part of the dynamicTemplate, to capture the response from the external tool.
  • Th below dynamicTemplate example is for GitHub.

    Panel
    titleDynamic Template Format

    "dynamicTemplate": {
         "responseTemplate": {
              "sha": "commitId",
               "commit": {
                   "author": {
                         "name": "authorName",
                         "date": "commitTime"
                           }
                   }
               }
     }


Update installagent.sh

fil

file


  • Update "installagent.sh" file if the OS is other than Linux or Ubuntu.