modify Jenkinsfile
parent
6ef38ce723
commit
35f55e1b69
|
|
@ -16,7 +16,14 @@ pipeline {
|
||||||
steps {
|
steps {
|
||||||
echo '#2 Build App (npm node)'
|
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 {
|
script {
|
||||||
echo "$PRIV_KEY"
|
echo "$PRIV_KEY"
|
||||||
sh '''
|
sh '''
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue