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