Skip to content

Commit

Permalink
Create jenkin
Browse files Browse the repository at this point in the history
  • Loading branch information
tdevout authored Feb 13, 2023
1 parent 4e16737 commit c4e04c0
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions jenkin
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
pipeline {
agent any

stages {
stage('Hello') {
steps {
echo 'Hello World'
}
}
}
post {
always {
cleanWs()
}
success {
emailext body: '${JOB_NAME} succeed', subject: 'Jenkins test', to: 'dharmik.thakkar@'
}
failure {
emailext (attachLog: true, body: '${JOB_NAME} failed. Open ${BUILD_URL} to check for more details.', subject: '${BUILD_TAG} Failed', to: 'dharmik.thakkar@')
}

}
}

0 comments on commit c4e04c0

Please sign in to comment.