connection string, ssh key
This commit is contained in:
parent
c3eda11c05
commit
41045a0973
@ -153,7 +153,7 @@ pipeline {
|
||||
git commit -m \"set up for database\"
|
||||
|
||||
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": "",
|
||||
"privateKeySource": {
|
||||
"stapler-class": "com.cloudbees.jenkins.plugins.sshcredentials.impl.BasicSSHUserPrivateKey\$DirectEntryPrivateKeySource",
|
||||
"privateKey": "\$privatekeycontent",
|
||||
"privateKey": "\$privatekeycontent
|
||||
",
|
||||
},
|
||||
"description": "${servicename}",
|
||||
"stapler-class": "com.cloudbees.jenkins.plugins.sshcredentials.impl.BasicSSHUserPrivateKey"
|
||||
|
Loading…
Reference in New Issue
Block a user