# remote jenkins build job
import requests
-EMAIL_TITLE = "[SDK RBS] has been trigger (%s Build Status : %s)"
+EMAIL_TITLE = "[SDK RBS] %s (%s)"
-EMAIL_COUNT_MESSAGE = "A SDK RootstrapBuildSystem has been trigger \n\n" \
+EMAIL_COUNT_MESSAGE = "A SDK RootstrapBuildSystem trigger info\n\n" \
"- OBS project : %s \n" \
"- Snapshot url : %s \n" \
"- Basesnapshot url : %s \n" \
if status == 'failed':
# Notify email to RBS_MAILINGLIST
- title = EMAIL_TITLE % ( profile["project"], status )
+ title = EMAIL_TITLE % ( status.upper(), profile["project"] )
msg = EMAIL_COUNT_MESSAGE % (profile["project"],
snapshot_url,
basesnapshot_url,
if status == 'failed':
# Notify email to RBS_MAILINGLIST
- title = EMAIL_TITLE % ( profile["project"], status )
+ title = EMAIL_TITLE % ( status.upper(), profile["project"] )
msg = EMAIL_COUNT_MESSAGE % (profile["project"],
snapshot_url,
basesnapshot_url,
if __name__ == "__main__":
sys.exit(main())
+