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

Fixed the order of passing arguments from bat files when running the main script #24

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

msa48
Copy link
Contributor

@msa48 msa48 commented Jul 3, 2019

Current versions of *.bat scripts is not correctly mapping arguments while calling SPSD_Main.ps1

Order of input params

param 
(
    #optional parameter
    [ValidateNotNullOrEmpty()]
    [ValidateSet('Deploy', 'Redeploy', 'Retract', 'Update', 'Ask')]
    [string]$Command = "Deploy",

    [ValidateNotNullOrEmpty()]
    [ValidateSet('All', 'Solutions', 'Extensions')]
    [string]$Type = "All",          # Makes it possible to only deploy the solutions or the defined site structure

    [ValidateNotNullOrEmpty()]
    [ValidateSet('Error', 'Warning', 'Information', 'Verbose', 'VerboseExtended')]
    [string]$Verbosity = "verbose", # defines how detailed the log is created each level includes the ones above
    [string]$envFile,               # external environment configuration file
    [switch]$saveEnvXml = $true,    # filename of the used environment configuration (merged file of referenced files with replaced variables)
    [string]$solutionDirectory = "" # Optional: specify a custom folder location where the solutions files are stored
)

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.

1 participant