From a9a67fb34cc864a5e95fbd9dbd333eda3355302a Mon Sep 17 00:00:00 2001 From: Robert Johnson Date: Mon, 11 Mar 2024 16:20:38 -0400 Subject: [PATCH] added ntfy --- Jenkinsfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index cf0938f..8a24ae0 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -17,18 +17,21 @@ pipeline { steps { sh 'chmod -R 777 .' sh 'gem install bundler' + sh 'curl -d "robertjohnson.work Prep stage done." https://ntfy.draft13.com/jenkins' } } stage('Build') { steps { sh 'bundle install' sh 'bundle exec jekyll build' + sh 'curl -d "robertjohnson.work Build stage done." https://ntfy.draft13.com/jenkins' } } stage('Deploy') { steps { sh 'scp -r -o StrictHostKeychecking=no -i $KEY_FILE _site/ ubuntu@box.myemail.cloud:/home/ubuntu' sh 'ssh ubuntu@box.myemail.cloud -i $KEY_FILE \'bash -s\' < deploy.sh' + sh 'curl -d "robertjohnson.work Deploy stage done." https://ntfy.draft13.com/jenkins' } } }