...
Update all calls to Mettleci
remote
commands, replacing-password %MCIPASSWORD%
with-privateKey \"%SSHKEYPATH%\"
, and also include-passphrase \"%SSHPASSPHRASE\"
if a passphrase is required for the SSH key:the
remote download
command in JenkinsFile, in the stage titled"Create DSParams Diff Artifact"
all MettleCI
remote
calls (remote upload
,remote download
,remote execute
) inside themci_deploy
ormci_unittest
shared library functions
eg:Code Block bat label: 'Cleanup', script: ''' %AGENTMETTLECMD% remote execute ^ -host %IISENGINENAME% ^ -username %MCIUSERNAME% -password %MCIPASSWORD% ^ -script "config/cleanup_unittest.sh" '''
becomesCode Block bat label: 'Cleanup', script: ''' %AGENTMETTLECMD% remote execute ^ -host %IISENGINENAME% ^ -username %MCIUSERNAME% -privateKey \"%SSHKEYPATH%\" ^ -passphrase \"%SSHKEYPHRASE%\" ^ -script "config/cleanup_unittest.sh" '''
Info |
---|
For other platforms, the ways we organise settings will differ, but in each case the way we add settings for the SSH key will be the same as for how we currently manage passwords. Updating the MettleCI |