Hello Team,
I'm using notify action in the job definition to notify users about the status of the job. I'm already a registered user in lava and after completion of my job, the administration site shows the status as "not sent".
Please let me know what can be the reason, and how can i achieve it?
Below is the job definition i'm using:
device_type: ADT-UNIT1
job_name: sample test to notify user
timeouts:
job:
minutes: 15
action:
minutes: 10
connection:
minutes: 5
visibility: public
actions:
- command:
name: relay_pwr_on
timeout:
minutes: 1
- deploy:
to: flasher
images:
package:
url: https://artifactory.softwaretools.com/artifactory/gop-generic-stable-local/build-artifacts/grip-quick/
- boot:
method: u-boot
commands:
- setenv factorymode 1
- boot
auto_login:
login_prompt: 'login:'
username: root
password_prompt: 'Password:'
password: root
login_commands:
- touch /home/root/test_file
- ifconfig
prompts:
- 'root@hon-grip'
- 'root@GRIP'
notify:
recipients:
- to:
method: email
user: pavan
criteria:
status: finished
verbosity: verbose
Thanks & Regards,
Pavan