connection string, ssh key

This commit is contained in:
adam 2024-12-13 22:49:00 -05:00
parent c3eda11c05
commit 41045a0973

View File

@ -153,7 +153,7 @@ pipeline {
git commit -m \"set up for database\" git commit -m \"set up for database\"
cp appsettings.sample.json appsettings.json cp appsettings.sample.json appsettings.json
sed sed -i "s/\\"DBConnectionString\\":\\"[^"]*\\"/\\"DBConnectionString\\":\\"\$databaseString\\"/g" appsettings.json sed -i "s/\\"DBConnectionString\\":\\"[^\\"]*\\"/\\"DBConnectionString\\":\\"\${databaseString}\\"/g" appsettings.json
""" """
@ -194,7 +194,8 @@ pipeline {
"password": "", "password": "",
"privateKeySource": { "privateKeySource": {
"stapler-class": "com.cloudbees.jenkins.plugins.sshcredentials.impl.BasicSSHUserPrivateKey\$DirectEntryPrivateKeySource", "stapler-class": "com.cloudbees.jenkins.plugins.sshcredentials.impl.BasicSSHUserPrivateKey\$DirectEntryPrivateKeySource",
"privateKey": "\$privatekeycontent", "privateKey": "\$privatekeycontent
",
}, },
"description": "${servicename}", "description": "${servicename}",
"stapler-class": "com.cloudbees.jenkins.plugins.sshcredentials.impl.BasicSSHUserPrivateKey" "stapler-class": "com.cloudbees.jenkins.plugins.sshcredentials.impl.BasicSSHUserPrivateKey"