modify Jenkinsfile

master
TBS093A 2022-03-01 14:03:46 +01:00
parent 6ef38ce723
commit 35f55e1b69
1 changed files with 8 additions and 1 deletions

9
Jenkinsfile vendored
View File

@ -16,7 +16,14 @@ pipeline {
steps {
echo '#2 Build App (npm node)'
withCredentials([sshUserPrivateKey(credentialsId: 'cv-kamil-zuk', variable: 'PRIV_KEY')]) {
withCredentials(
[
sshUserPrivateKey(
credentialsId: 'cv-kamil-zuk',
variable: 'PRIV_KEY'
)
]
) {
script {
echo "$PRIV_KEY"
sh '''