Functions/Private/Set-Artifactory.ps1
function Set-Artifactory { [CmdletBinding()] param( [Parameter(Mandatory)] [ValidateNotNullOrEmpty()] [string] $Server , [Parameter(Mandatory)] [ValidateNotNullOrEmpty()] [string] $User , [Parameter(Mandatory)] [ValidateNotNullOrEmpty()] [string] $Token ) $script:ArtifactoryServer = $Server $script:ArtifactoryUser = $User $script:ArtifactoryToken = $Token } |