Last modified: 2014-05-21 15:06:43 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T66232, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 64232 - E-mail template needs to be copied to $JENKINS_HOME/email-templates
E-mail template needs to be copied to $JENKINS_HOME/email-templates
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Continuous integration (Other open bugs)
wmf-deployment
All All
: Unprioritized normal (vote)
: ---
Assigned To: Željko Filipin
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-04-22 11:03 UTC by Željko Filipin
Modified: 2014-05-21 15:06 UTC (History)
9 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Željko Filipin 2014-04-22 11:03:23 UTC
The template is located here: 

https://github.com/zeljkofilipin/jenkins-job-builder-config/blob/master/docs/wikimedia.template



An example e-mail message:

From: jenkins-bot <nobody@integration.wikimedia.org>
Date: Fri, Apr 18, 2014 at 5:00 PM
Subject: browsertests-UniversalLanguageSelector-commons.wikimedia.beta.wmflabs.org-linux-firefox
- Build # 1 - Failure!
To: ...

Template [wikimedia.template] was not found in $JENKINS_HOME/email-templates.
Comment 1 Antoine "hashar" Musso (WMF) 2014-04-22 12:32:12 UTC
You can import the template from Github to our repository integration/jenkins.git , for example under /tools/emailtemplate/ or whatever.

The repository is fetched on the Jenkins master at /srv/deployment/slave-scripts so the template path would be:  /srv/deployment/slave-scripts/tools/emailtemplate/wikimedia.template
Comment 2 Željko Filipin 2014-04-23 11:19:10 UTC
Documentation[1] says:

"Have your Jenkins administrator place the script inside JENKINS_HOME\email-templates."

1: https://wiki.jenkins-ci.org/display/JENKINS/Email-ext+plugin
Comment 3 Željko Filipin 2014-04-23 11:37:33 UTC
See https://gerrit.wikimedia.org/r/#/c/129151/
Comment 4 Gerrit Notification Bot 2014-04-23 11:40:40 UTC
Change 129152 had a related patch set uploaded by Hashar:
contint: symlink for Jenkins email templates

https://gerrit.wikimedia.org/r/129152
Comment 5 Antoine "hashar" Musso (WMF) 2014-04-23 11:42:08 UTC
I have deployed the integration/jenkins.git repository on gallium using git-deploy and created the symlink myself (it is pending in puppet Gerrit change #129152).
Comment 6 Antoine "hashar" Musso (WMF) 2014-04-23 11:45:10 UTC
Verified to be working properly \O/
Comment 7 Gerrit Notification Bot 2014-04-23 11:47:51 UTC
Change 129154 had a related patch set uploaded by Zfilipin:
Moved wikimedia.template to integration/jenkins repository

https://gerrit.wikimedia.org/r/129154
Comment 8 Gerrit Notification Bot 2014-04-23 11:53:15 UTC
Change 129154 merged by jenkins-bot:
Moved wikimedia.template to integration/jenkins repository

https://gerrit.wikimedia.org/r/129154
Comment 9 Gerrit Notification Bot 2014-05-21 15:06:43 UTC
Change 129152 merged by Dzahn:
contint: symlink for Jenkins email templates

https://gerrit.wikimedia.org/r/129152

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links