modify Jenkinsfile
parent
35f55e1b69
commit
ed684ba1be
|
|
@ -16,14 +16,7 @@ pipeline {
|
|||
steps {
|
||||
echo '#2 Build App (npm node)'
|
||||
|
||||
withCredentials(
|
||||
[
|
||||
sshUserPrivateKey(
|
||||
credentialsId: 'cv-kamil-zuk',
|
||||
variable: 'PRIV_KEY'
|
||||
)
|
||||
]
|
||||
) {
|
||||
withCredentials([sshUserPrivateKey(credentialsId: 'cv-kamil-zuk', keyFileVariable: 'PRIV_KEY')]) {
|
||||
script {
|
||||
echo "$PRIV_KEY"
|
||||
sh '''
|
||||
|
|
|
|||
Loading…
Reference in New Issue