Create Forms
Last updated
Last updated
This means that the file (all your forms) is version controlled by you, and any changes on the branches should be merged back to the main/master branch to be availabe - just as it works in bitbicket-pipelines.yml
.
This also means that thepipeline-forms.yml
file may vary branch-by-branch, which could lead to different options in your forms on different branches.
After creating a pipeline-forms.yml
you can edit it with your expected forms then commit to make it visible on the UI.
The pipeline-forms.yml
can consist of the following configuration elements:
groups - ability to group forms into presets
fields - different type of input fields, may contain options
forms - can be displyed to gather input data
linked to a pipeline
fields can be added on the forms
Edit your pipeline-forms.yml
with
1 group
2 simple fields
a form (using the 2 fields)
link the form with the "test" pipeline
link the form with the group
The form will appear on the Pipeline Forms menu, when the proper branch and commit is selected.
To implement advanced forms, check out the Syntax for the pipeline-forms.yml file page!
Forms should be edited by editing the pipeline-forms.yml
which is a user craeted file in your repository's root.
You can use your favourite source code editor, or simply use the Bitbucket UI code editor.
When you have a form, just repeat the process and add another form in the same and only pipeline-forms.yml
.
If you are unsure if your form has a valid syntax use the Validate option on the right top by copy-pasting your form's content in the editor: