I am looking for the Bamboo REST API which give us all recent Build Activity of an Application within a time-frame like all build of Last_7_Days, Last_1_Day, Last_30_Days etc. Similar to the report we get in Bamboo UI for Build Activity of a Plan. In Bamboo Report we have three section Chart, Data Table and Builds. We have REST API for Chart. But I still couldn't found any REST API to get the Build Activity. Report format attached for reference.
I tried Bamboo Chart API but its giving output as a chart image. Does anyone know any Bamboo REST API to fetch Build Activity of an Application?
I will appreciate your help. Thanks
As you have found there are no direct REST APIs for build activity by time period.
I'd use the build REST API (https://developer.atlassian.com/bamboodev/rest-apis/bamboo-rest-resources#BambooRESTResources-BuildService%E2%80%94AllBuilds) and XLST to filter the results by time period.
Related
I am facing a problem of dataflow not loading even after 30minutes of staying. How do I complete that Lab,
The Task is:- Make a chart on dataflow by running a query on BigQuery.
I found the second option.
We can also start dataflow in another tab and restarting it from the new phase will help it in loading correctly. Then using make a new chart using a big query option with a query that has completed the task.
I am new to GAE and I am trying to quickly find a way to retrieve logs in DataStore, clean them to my specs, and then save them to a table to be called on later for a reports view in my app. I was thinking of using Google Data Flow and creating batch jobs (app is python/Django) but the documentation does not seem to fit my use case so maybe data flow is not the answer. I could create a python script with BigQuery and schedule through CRON but then I would have to contend with errors and it would seem that there is a faster way to solve this problem.
Any help/thoughts/suggestions is always greatly appreciated.
You can use Dataflow/Beam Python SDK to develop a pipeline that read entities from Datastore [1], transform data, and write a table to BigQuery [2]. To schedule this job to run regularly you'll have to use a third party mechanism such as a cron job. Note that Dataflow performs automatic scaling and perform retries to handle errors so you are not expected to manually address these complexities.
[1] https://github.com/apache/beam/blob/master/sdks/python/apache_beam/io/gcp/datastore/v1/datastoreio.py
[2] https://github.com/apache/beam/blob/master/sdks/python/apache_beam/io/gcp/bigquery.py
I'm trying to write simple CLI tool, helping me with several VSTS-related tasks, like:
Create project from template
Building and watching build from console
etc
So, it would be nice to attach to running build (triggered via CI) and watch console output in live in my desktop console. Is there such ability in SDK?
I'm currently using this packages:
https://www.visualstudio.com/en-us/docs/integrate/get-started/client-libraries/dotnet
There isn't any API can achieve this feature as I know. You can submit a feature request on VSTS User Voice.
What should I do to profile worflows exposed as Windows Workflow services? Which tool did you use?
I have tried to use dotTrace (jetBrains): I can see data in the profiling snapshot, but it seems I cannot see methods called by workflows.
Depending on the information you want to get out of it you can use AppFabric. Once installed you can go into IIS and set monitoring to "Troubleshooting" and get back pretty much everything the workflow has done.
I'm a new user of sonar. Now I need to customize metrics, but I didn't find the related documentation. If I have to coding a plugin? I do the same with http://docs.sonarqube.org/display/SONAR/Getting+Started, but I failed. There is no difference at the localhost:9000/profiles.
For proper integration into the Sonar build you need to write plugin:
http://docs.sonarqube.org/display/DEV/Developing+Plugins
If you just want to add some additional adhoc metrics to your dashboard,
an option is to use manual measures:
http://docs.sonarqube.org/display/SONAR/Manual+Measures
There's a REST API available to creating and posting manual metric values:
http://docs.sonarqube.org/pages/viewpage.action?pageId=2392169
You can create a new Metric using Manual Metrics through the sonar GUI (I think you need admin rights).
Manual metrics can be updated through the GUI too.
If your plugin built OK but there are no numbers appearing: you must also run an analysis to populate the new Metrics with some Measures.