jira update ticket using script - hudson

Is there any way update Jira ticket using scripts?
Basically I will have a build from hudson/jenkins and if I get the Jira ID in all changes then corresponding ID should be updated to release version in Jira? Can any one help me? I am bit new to Jira admin.

It's a bit difficult to understand the question but there is a Jira plugin for jenkins that does what I think you're asking:
Here is a link to the Jenkins JIRA plugin, you'll need to make sure the web service API for JIRA is enabled in the JIRA admin interface.

JIRA has a SOAP (and in some version REST) web service that would allow you to make an HTTP request to JIRA to make changes to a ticket. If the Jenkins plugin that Mike K suggested does not work for you, then you can look at writing a script that would make the request that you need.

Related

Run API test in CI (Jenkins)

What is the best way to run an API test that was created via the IBM API Connect Test and Monitor ?
I published a test and I would like my CI sever (jenkins or azure devops) to run it?
Many thanks,
Assaf
Great question Assaf. It is currently not possible in the product, however, is on the roadmap and is coming soon.
We will have APIs and Webhooks to help execute tests as part of your CI/CD processes. Meaning, the same tests you generated using the test composer and run in production can be recycled to ensure your deployments are error free.
As well, Jenkins is an industry standard so we will be providing a plugin to help facilitate the API testing processes via GUI. More details to come, will update this space when it does.
Alternatively keep your eye out here: http://ibm.biz/apitest

How to link MSTest with Report Portal?

We have a Coded UI solution in TFS and run tests from MS Test Manager. How can I post test results into Report Portal?
I have just installed NUGet package from github
But it is unclear for me how to use it. Is there some documentation about using of Report Portal API?
Unfortunately, ReportPortal have no MSTest agent yet. But it has reach API so you could try to implement agent by yourself.
There are couple of other .NET-based clients (as example):
NUunit, Specflow
Server-side API is quite powerful to implement integration with any testing engine. You can have a look at it by the following link (must be logged in):
YOUR_RP_URL/ui/swagger-ui.html
I believe there now there is something that can connect reportportal and mstest: https://github.com/reportportal/agent-net-vstest

Docker setup for Wirecloud

I am trying to set up a local version of Wirecloud with Docker.
Is there any template already cooked for that ?
Otherwise I was considering to go a path similar to this tutorial
https://realpython.com/blog/python/django-development-with-docker-compose-and-machine/
Currently, there are no docker templates for deploying WireCloud. The link you have posted looks good as starting point.
I suggest you to open a ticket in the WireCloud's issue tracker or to make a pull request if you are going to create a docket template and don't mind to share it. You can get support for creating such a template from the WireCloud team in the issue tracker.
Update: WireCloud is now available on docker hub.

WSO2 ESB Carbon application deployment fails

I have grouped family of services as a Carbon Application and then deploying the same on WSO2 ESB. If one of those services fails during deployment then none of the other services are deployed on ESB, instead i get an Service laready exists exception upon retry.
It will be of great help if you could help me.
EDIT
I am using WSO2 3.0.1.
Make sure you donot have any traces of CAR file that you uploaded in the following paths.
1) <ESB_HOME>--> tmp--> carbonappuploads
2) <ESB_HOME>--> repository-->deployment-->server-->carbonapps
3) <ESB_HOME>--> carbonapps.
After deleting any traces of carbonapps in the above mentioned apps, Restart the ESB server. Then try to upload CAR file again. Hope this will work.Thanks.
According to your description I guess that you are trying to deploy a Carbon Application aRchive (CAR) file which contains a set of services in WSO2 ESB. First of all I would like to suggest to use WSO2 Application Server [1] to deploy services instead of the ESB.
Regarding the error you get during the deployment I guess you may have defined two services with the same name or you may have already deployed this CAR file before. Hope this will help. If this is not the case please provide more information about your problem so that we could try to identify the problem.
[1] http://docs.wso2.org/display/DVS320/Creating+JAX-WS+and+JAX-RS+Service+Projects
Thanks

JRuby SAML Authentication

I'm trying to set up a JRuby application to use SAML 2.0 Authentication against a simpleSAMLphp IdP. The intention is to eventually authenticate against Microsoft ADFS, but that solution is still being built.
I've tried a couple of different SAML solutions so far (ruby-saml, samlr), and they all seem to fail under JRuby (but work fine under MRI). I'm specifically using JRuby to utilise the JMS API and JDBC Connectors, so I can't really go back to MRI.
Does anyone know of a SAML implementation that works properly under JRuby? I'm quite happy to go down the path of using native Java classes if that's required, but it'd really help to have a starting point that I can build upon.
Thanks in advance!
Is this application customer facing? If so, check out PingOne Application Provider Services. It's a hosted SAML SP from Ping Identity. You connect via a REST APS from your application and the service handles aol the complex SAML. Very simple to setup. The first connection is free as a bonus. [Note: I work for Ping]
HTH -Ian