Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
rtpro committed Apr 2, 2024
1 parent cb23c2c commit 994762e
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,37 @@ docker-compose up
xdg-open 'http://localhost:3000'
```

# Example Template
```
components:
- name: jenkins_pipeline_mypipe1
type: http
create:
url: https://<JENKINS_SERVER>/job/mypipe1/buildWithParameters
method: post
parameters:
- action: deploy1
- myparam: '{{inputs.user_input1}}'
headers:
Authorization: Basic <JENKINS_TOKEN_BASE64>
Content-Type: application/json
delete:
url: https://httpbin.org/anything
method: delete
parameters:
- action: delete
- my_param2: '{{inputs.my_text}}'
name: jenkins_job
inputs:
- name: user_input1
type: text
label: Your text
default: some_text
description: Your custom text
```


# Documentation
For product documentation refer to the [Documentation Folder](documentation/README.md).

Expand Down

0 comments on commit 994762e

Please sign in to comment.