I have a personal email address to log in to Bitbucket and I have an alias - my work email.
When I create a commit and push it into a remote repo the commit has my alias email as an author (done by .hgrc in a local repository). However, when I create a commit (or a merge) by web UI the author is my personal email.
So, I'm wondering, is it possible to use a specific email alias for a particular repository? In other words, I want to sign in with my personal email (or with a Google account) but use my work email for certain repositories.
Related
The GitHub integration for https://desert.readthedocs.io/en/stable/ was working fine then the GitHub user account (python-desert) was converted to an organization and since then we (myself and the owner) are unable to get the hook re-synced or deleted/re-added. I am able to add a webhook on GitHub so it seems my account does have the necessary permissions. I could delete the project and reconnect it and hope that helps but it would obviously be nice to avoid that.
https://docs.readthedocs.io/en/latest/webhooks.html#webhook-activation-failed-make-sure-you-have-the-necessary-permissions followed the link to the OAuth apps, already had the RTD app in my user, clicked it, granted permission to the org, deleted the webhook stuff on both GH and RTD, had RTD recreate via the inteagrations... I still get the following complaint from RTD but the PR did trigger builds on RTD and status callbacks to the PR.
The project desert doesn't have a valid webhook set up, commits won't trigger new builds for this project. See the project integrations for more information.
I need to send notifications to certain email due to a certain string in the commit message in the mercurial repository.
I have now the notify extension working but it sends notifications at every push.
thanx in advance.
You could use the notify extension as a reference and roll out your own hook that will examine the commit messages in incoming changesets and send out emails if they contain a certain string. The book Mercurial: The Definitive Guide has a great chapter on writing hooks, which should help you get started.
I am having two interdependent jobs, so my purpose is to send email notification to commiter of job-A after the completion of job-B.
For sending the notification i got a reply like i need to have fingerprinting between dependent jobs.
So my question is for fingerprinting, whether i needed to archive artifacts, i have finger print that artifacts or i can fingerprint whatever i file required for checking dependency between two jobs?
How can i send email notification on the basis of job-B(success/failure) to those who commit on job-A?
Please somebody explain it elaborately because I am new to jenkins.
Yes you need to archive artifacts and fingerprint them in order to create a dependency chain between your jobs. That way Job A build #256 with a fingerprinted item "some.file" will be linked to Job B build #1623 with the same fingerprint id of item "some.file".
In order to send email notifications when Job B fails you need to setup promoted builds.
Promoted builds allow you to define an action when a downstream project succeeds, breaks, fails, etc.. For example by sending an E-mail.
I want to send reports about every Hudson job build ito mail. Mail address must be get by certain rule, for example: committer - vpupkin, his mail - vasya.pupkin#co.com. I have script which makes this transformation. Is there way to do this?
If you are using an LDAP directory. You should be able to resolve the email address for a user through an email property of the user in the LDAP. Don't know if that also works with Active Directory (but you should be able to access your AD with the LDAP protocol).
The Email-Ext Plugin is the most feature-rich facility for sending out email from Hudson.
For example, it can be configured to email the committer(s) who made changes since the last successful build.
Yes, Email-Ext Plugin, as mentioned is the most feature-rich email pluggin for Hudson.
You can enable an option to mail every commiter for success, failure and other...
I don't do any transformations on the e-mails though... I am configuring the profile of every user, where I update their e-mail address using their actual one.
http://wiki.hudson-ci.org/display/HUDSON/RegEx+Email+Plugin
made for this plugin shell script, which generates its config
I am trying to configure Hudson to send an email if a build fails to the person who committed the broken build to SVN.
Question
Is it possible to do this and if so how do I configure Hudson to do it?
Yes - in your job configuration, check E-mail Notification under Build Settings near the bottom of the page, and then also check "Send separate e-mails to individuals who broke the build" to have Hudson email the person(s) who committed the SVN changes for a failed build. Note that your Hudson user names will need to match your SVN user names in order for this to work properly.
If you want to have certain people receive email whenever a build breaks or is fixed, regardless of whether they caused the failure, add their email addresses to the Recipients field.
You don't need the email-ext plugin to do this, but that plugin does give you a lot more control over the email format and content.
Yes, it is possible, and I do this in my organization. See:
http://wiki.hudson-ci.org/display/HUDSON/Email-ext+plugin
quoting:
This plugin allows you to configure every aspect of email notifications. You can customize when an email is sent, who should receive it, and what the email says.
This plugin extends Hudson's built in email notification functionality by giving you more control. It provides customization of 3 areas.
•Triggers - Select the conditions that should cause an email notification to be sent.
•Content - Specify the content of each triggered email's subject and body.
•Recipients - Specify who should receive a email when it is triggered.
The trigger you want to select is the "Failure" trigger, and be sure to check the "Send to Committers" checkbox.