Added build notifications to Jenkinsfile
This commit is contained in:
1 parent
e2812494a0
commit
033227a5ac
3 files changed
+10
-2
No files matched your search
Vendored
+8
@@ -22,6 +22,14 @@ pipeline {
|
|||||||
}
|
}
|
||||||
|
|
||||||
post {
|
post {
|
||||||
|
failure {
|
||||||
|
httpRequest contentType: 'APPLICATION_JSON', httpMode: 'POST', ignoreSslErrors: true, requestBody: "{\"topic\": \"jenkins\", \"title\": \"Jenkins\", \"priority\": 4, \"icon\": \"https://jenkins.homelab.net/favicon.ico\", \"click\": \"${BUILD_URL}\", \"message\": \"Build failed for ${currentBuild.displayName}, ${currentBuild.fullDisplayName}, ${currentBuild.projectName}, ${currentBuild.fullProjectName} on ${BRANCH_NAME} branch\"}", responseHandle: 'NONE', url: 'https://ntfy.homelab.net', wrapAsMultipart: false
|
||||||
|
}
|
||||||
|
|
||||||
|
fixed {
|
||||||
|
httpRequest contentType: 'APPLICATION_JSON', httpMode: 'POST', ignoreSslErrors: true, requestBody: "{\"topic\": \"jenkins\", \"title\": \"Jenkins\", \"priority\": 3, \"icon\": \"https://jenkins.homelab.net/favicon.ico\", \"click\": \"${BUILD_URL}\", \"message\": \"Pipeline fixed for ${JOB_BASE_NAME} on ${BRANCH_NAME} branch\"}", responseHandle: 'NONE', url: 'https://ntfy.homelab.net', wrapAsMultipart: false
|
||||||
|
}
|
||||||
|
|
||||||
cleanup {
|
cleanup {
|
||||||
cleanWs()
|
cleanWs()
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -54,7 +54,7 @@ cameras:
|
|||||||
front_door_zone:
|
front_door_zone:
|
||||||
coordinates: 964,677,1920,1080,0,1080,539,754 # Near front door
|
coordinates: 964,677,1920,1080,0,1080,539,754 # Near front door
|
||||||
front_door:
|
front_door:
|
||||||
enabled: true
|
enabled: false
|
||||||
ffmpeg:
|
ffmpeg:
|
||||||
inputs:
|
inputs:
|
||||||
- path: 'rtsp://{FRIGATE_FRONT_DOOR_RTSP_USERNAME}:{FRIGATE_FRONT_DOOR_RTSP_PASSWORD}@192.168.0.108:554/live/ch0'
|
- path: 'rtsp://{FRIGATE_FRONT_DOOR_RTSP_USERNAME}:{FRIGATE_FRONT_DOOR_RTSP_PASSWORD}@192.168.0.108:554/live/ch0'
|
||||||
|
|||||||
+1
-1
@@ -96,7 +96,7 @@
|
|||||||
dest: '{{docker_build_dir.path}}'
|
dest: '{{docker_build_dir.path}}'
|
||||||
mode: preserve
|
mode: preserve
|
||||||
- name: Build frigate-webcontrol Docker image
|
- name: Build frigate-webcontrol Docker image
|
||||||
ansible.builtin.docker_image:
|
ansible.builtin.ocker_image:
|
||||||
build:
|
build:
|
||||||
path: '{{docker_build_dir.path}}'
|
path: '{{docker_build_dir.path}}'
|
||||||
name: frigate-webcontrol
|
name: frigate-webcontrol
|
||||||
|
|||||||
Reference in new issue
Block a user