Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
rtpro authored Apr 2, 2024
1 parent 994762e commit 9354cb3
Showing 1 changed file with 14 additions and 7 deletions.
21 changes: 14 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,20 @@ xdg-open 'http://localhost:3000'

# Example Template
```
name: jenkins_job
# ServiceHub generates the UI from the input session
# and passes the user-provided values to the Components
inputs:
- name: user_input1
type: text
label: Your text
default: some_text
description: Your custom text
# The Components section tells ServiceHub what operations to perform
# when users create/delete/update their services. Components can be
# of type 'http' or 'helm_chart. refer to Docs for a detailed description.
components:
- name: jenkins_pipeline_mypipe1
type: http
Expand All @@ -123,13 +137,6 @@ components:
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
```

Expand Down

0 comments on commit 9354cb3

Please sign in to comment.