Functions/Private/Set-BitBucketServer.ps1
function Set-BitBucketServer { [CmdletBinding()] param( [Parameter(Mandatory)] [ValidateNotNullOrEmpty()] [string] $Url , [Parameter(Mandatory)] [ValidateNotNullOrEmpty()] [string] $User , [Parameter(Mandatory)] [ValidateNotNullOrEmpty()] [string] $Token ) $script:BitBucketServerUrl = $Url $script:BitBucketServerUser = $User $script:BitBucketServerToken = $Token } |