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\"
|
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"
|
||||||
|
Loading…
Reference in New Issue
Block a user