Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add failOnMissingPlugin option to dslGenerateXml task #82

Merged
merged 1 commit into from
May 25, 2018
Merged

Add failOnMissingPlugin option to dslGenerateXml task #82

merged 1 commit into from
May 25, 2018

Conversation

UnsafePointer
Copy link
Contributor

Similar to the existing option in dslUpdateJenkins. This pre-verification would be useful to us as we have several Jenkins instances and we maintain a single plugin set.

@@ -68,6 +68,21 @@ class GenerateXmlTest extends AbstractTaskTest {
XMLUnit.compareXML(expectedText, actualText).identical()
}

def 'folder is generated incorrectly'() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The name is not so telling, what about 'failOnMissingPlugin fails the task if a required plugin is missing'?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds great, I applied the change.

]
}

@Option(option = 'failOnMissingPlugin', description = 'Fail the task if the plugin is missing.')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'Fail the task if a required plugin is missing.'

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@mnonnenmacher mnonnenmacher merged commit 3de67a1 into heremaps:master May 25, 2018
@UnsafePointer UnsafePointer deleted the fail_on_missing_plugin branch June 22, 2018 08:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants