modify Jenkinsfile
parent
6ef38ce723
commit
35f55e1b69
|
|
@ -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 '''
|
||||
|
|
|
|||
Loading…
Reference in New Issue