0
感謝joey,我使用Jenkins的下面的命令,但得到錯誤。無法使用apigeetool將代理部署到apigee
Set-ExecutionPolicy RemoteSigned
Import-Module PowerShellGet
Install-Module -Name PSApigeeEdge -Force
Import-module PSApigeeEdge
Set-EdgeConnection -org def -User xyz-EncryptedPassword abc
Deploy-EdgeApi -Name proxy-name -Environment digital-dev -Revision 25 Error: ConvertTo-SecureString : Input string was not in a correct format.
At C:\Program Files\WindowsPowerShell\Modules\PSApigeeEdge\Public\Set-EdgeConnection.ps1:97 char:35
+ $SecurePass = ConvertTo-SecureString -String $EncryptedPassw ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [ConvertTo-SecureString], FormatException
+ FullyQualifiedErrorId : System.FormatException,Microsoft.PowerShell.Commands.ConvertToSecureStringCommand