23 lines
448 B
Plaintext
23 lines
448 B
Plaintext
pipeline {
|
|
agent { label 'docker' }
|
|
stages {
|
|
stage('Checkout'){
|
|
steps { checkout scm }
|
|
}
|
|
stage('Deploy Prod'){
|
|
steps {
|
|
sshagent (credentials: ['myinstalink-server']) {
|
|
sh '''
|
|
ssh -o StrictHostKeyChecking=no kreamond@109.73.204.66 '
|
|
set -euo pipefail
|
|
echo "hello"
|
|
'
|
|
'''
|
|
}
|
|
}
|
|
}
|
|
}
|
|
post {
|
|
always { junit 'reports/**/*.xml'; }
|
|
}
|
|
} |