Commit 601553ad authored by Jeyarani Sonai's avatar Jeyarani Sonai

Update Jenkinsfile

parent 7438486c
......@@ -7,6 +7,8 @@ node('devenv') {
}
stage('deploy') {
sh '''
service springboot-refapp stop || true
rm -f /etc/init.d/springboot-refapp || true
ln -s /var/lib/jenkins/workspace/training-cicd-mine_master/target/springboot-refapp-0.0.1-SNAPSHOT.jar /etc/init.d/springboot-refapp || true
service springboot-refapp stop
service springboot-refapp start
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment