Sending notifications on build start in Bamboo server - bamboo

I'm looking to be able to send notification whenever a build is started and not only when they are completed.
Is there a way to get custom Notification Events?

There is not a native way to do this. However, there are some creative ways to get around this:
Use a task in a build job to send out the notification via a script or executable (my recommendation).
Use webhooks and 3rd party applications (e.g., Slack, Microsoft Teams)
Use the Bamboo API + a custom script to watch for the build to start.

Related

I Want to create a application which display list of installed application with help of android service

I Want to create a application which display list of installed application with help of android service.
Which android service to use in this scenario?
It depends on what you want, you can use WorkManager , it runs synchronously in the background, and it is very flexible, espcially if you want to schedule your work. You can also use Foreground Service if you want to show a notification while your app is running. You can use Bound Service if you want to exchange data between an activty and the service.
Before android Oreo, you could useIntent Service, but starting from Oreo, it started to cause an exception. You can also still use AsyncTask but it has serveral drawbacks and AsyncTask may be deprecated in the future.
This is an overview, you haven't mentioned specific details about your app, hope this overview will help choose which way you go.

Tool to remotely log (debug) React Native production app

Is there some tool available for React Native to remotely debug or send logs from production app to me?
I want to use it to track what errors my test users getting without them need to interact with app.
Have you thought about raygun? This gives you an api to log your errors and then a portal to view them. I use it on a project at work and it's worth looking at https://raygun.com/
There are a few options for you which will be quite easy for you to implement. The first one I would suggest you is react-native-firebase and use it for pushing events to the analytics in firebase.
The second option would be react-native-flurry-sdk offered by yahoo flurry analytics which is also very easy and efficient.
If your app is on google play store already then you can use the build in crash reporting system which reports most of the errors but if you need something specific and in your own control like if you want the app to send you a specific error etc then its best to use react-native-flurry-sdk. you can get it from here:
https://github.com/flurry/react-native-flurry-sdk

How to automate push notifications on Desktop?

I want to automate push notifications on Desktop. i.e. I want to automate push notification when sent by Chrome and Firefox. I have search enough online but unable to get any concrete solutions/information.
Since the delivered push notification is not a part of browser and hence it cannot be detected by Selenium. Any other ways one can automate this?
What about UiAutomation? I'd look towards it. It could handle both Silverlight and win/wpf applications

Sending notifications on build failure in Bamboo server

I want to configure the Bamboo notification in a way that
When a build fails on the bamboo server a notification mail should go the developer responsible for the build failure. This is achieved and works fine.
Also the notification about the build failure should go to the developer's respective supervisor (say his/her scrum master and product owner). How to achieve this?
Thanks for your time and help
It is possible. In Bamboo 4.x (and i think also in Bamboo 5.x) you can set this kind of notification here: Configure Plan->Notifications
On this site, you have a few options. You can select in the Event dropdown menu for example "Failed Builds And First Successful" and in Recipient Type "Committers".
You can add multiple notification rules.

TeamCity - How do you give feedback to clients for a deployment to their machine?

Currently when our software is out of date, the following call is made to queue a deploy in TeamCity.
/httpAuth/action.html?add2Queue={0}&system.name=TargetMachine&system.value={1}
Argument 0 being the buildTypeId and argument 1 being the hostname of the targetMachine.
We are trying to setup a way to give the client feedback on the status of their build in TeamCity. Our idea was to create a website that would popup on a clients computer to show the status of their deployment in TeamCity, but can't figure out any quick way of doing this. Keep in mind we dont want the client to see the whole queue, only their build.
The problem I am arising at is when calling TeamCity with the command above, there is no way that I know of to retrieve the created buildId. If I could get the buildId, then the rest should be pretty easy.
You can use TeamCity Windows Tray Notifier tool. You can configure notificationf for different events like build started/finished/etc. Obviously if this is a case installing such a tool on the client's PC.
For instance, an user would see such popup window in case of build crash:
Also TeamCity allows configure email notification on the broad set of events related to a particular build or project.