Skip to content
This repository has been archived by the owner on Aug 13, 2022. It is now read-only.

Commit

Permalink
chore : jenkins test
Browse files Browse the repository at this point in the history
  • Loading branch information
kihyuk-jeong committed May 7, 2021
1 parent 454c107 commit 4590d78
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions Jenkinsfile-cd
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,20 @@ pipeline {
}
}

stage('Test') {
steps {
sh 'gradle test'
echo 'test success'
}
}

stage('Deploy)' {
steps {
script {
sh "ssh root [email protected] -T sh < /root/app/step1/deploy.sh"
}
}
}
}

post {
Expand Down

0 comments on commit 4590d78

Please sign in to comment.