Skip to content

Connector Development: Validate connector development scripts before saving them - #720

Open
johnstone3 wants to merge 1 commit into
masterfrom
feature/script-validation-on-save
Open

Connector Development: Validate connector development scripts before saving them#720
johnstone3 wants to merge 1 commit into
masterfrom
feature/script-validation-on-save

Conversation

@johnstone3

Copy link
Copy Markdown
Contributor

The script wizard step validates the edited script by the connector itself (executeScript on the testing resource, development mode only) before writing it to the connector file. A validation error is shown on the step with the failed phase and location, and the script is not saved. When the validation cannot be executed (no testing resource yet, older deployed connector), the save proceeds as before. Non-groovy artifacts are not validated.

The script wizard step validates the edited script by the connector
itself (executeScript on the testing resource, development mode only)
before writing it to the connector file. A validation error is shown
on the step with the failed phase and location, and the script is not
saved. When the validation cannot be executed (no testing resource yet,
older deployed connector), the save proceeds as before. Non-groovy
artifacts are not validated.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant