Ensure Package
- 14 May 2021
- 1 Minute to read
- Print
- DarkLight
- PDF
Ensure Package
- Updated on 14 May 2021
- 1 Minute to read
- Print
- DarkLight
- PDF
Article Summary
Share feedback
Thanks for sharing your feedback!
This is generated from the built in components of BuildMaster 7.0.0, and may be different than what you have installed (especially if you have extensions); go to [User Icon] -> Documentation within your BuildMaster instance to see exactly what operations are available.
Ensure Package
Ensures that the contents of a ProGet package are in the specified directory.
Script usage:
ProGet::Ensure-Package( [Credentials: <text>], Feed: <text>, Name: <text>, [Version: <text>], [DeleteExtra: <true/false>], Directory: <text>, [Include: <@(text)>], [Exclude: <@(text)>], [FeedUrl: <text>], [UserName: <text>], [Password: <text>] );
Arguments:
Name | Format | Script Usage | Usage Notes |
---|---|---|---|
Credentials | text | Credentials | |
☆ Feed name | text | Feed | This argument is required. |
☆ Package name | text | Name | This argument is required. |
Package version | text | Version | |
Delete files not in Package | true/false | DeleteExtra | |
☆ Target directory | text | Directory | The directory path on disk of the package contents. This argument is required. |
Include | @(text) | Include | See KB#1119 to learn more about masking syntax. |
Exclude | @(text) | Exclude | See KB#1119 to learn more about masking syntax. |
ProGet server URL | text | FeedUrl | |
ProGet user name | text | UserName | The name of a user in ProGet that can access this feed. |
ProGet password | text | Password | The password of a user in ProGet that can access this feed. |
Was this article helpful?