Skip to content
This repository has been archived by the owner on Feb 2, 2023. It is now read-only.

Commit

Permalink
Add jenkins.sh job
Browse files Browse the repository at this point in the history
This just creates a zip of the code ready for deployment.
  • Loading branch information
surminus committed May 25, 2016
1 parent 345ae3b commit 6fdba59
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions email_alert_notifications/jenkins.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash

set -e
export FILE_TO_UPLOAD=rename_email_files_with_request_id.py.zip
mkdir -p archive/$(date +%s)
mv $FILE_TO_UPLOAD archive/$(date +$s)/
/usr/bin/zip $FILE_TO_UPLOAD rename_email_files_with_request_id.py
echo "$FILE_TO_UPLOAD ready to upload"

0 comments on commit 6fdba59

Please sign in to comment.