Jenkins TestComplete get test Execution Id from Jira - jenkins

I need to integrate TestComplete and Jira to Jenkins. My requirement is to get test Execution Id from Jira and pass that execution Id to TestComplete through Jenkins. Is there any way to achieve it.

TestComplete and Jenkins already have integration which could be found Here
As for grabbing the execution ID... TestComplete has an operation called Set-Variable Value. This allows you to store any value from the machine as a variable to use later. One of my favorite features in TC. This should give exactly what you need. Just be aware that you could also Log a message and customize the message with any stored values as well

Related

How to trigger Jenkin Jobs from Microsoft Team Channel?

I am looking to trigger Jenkins's job from the Microsoft team's channel. Can anyone provide step by step implementation of this?
There are two nice options you can use:
Outgoing Webhook - Will scan for words in the chats and send a notification to your Jenkins server.
Commander - Second and more customizable option is using the Commander add on for teams, which in addition to builtin commands provides the ability to Create your own Custom Commands.
With both options you will be able to tigger Jenkins jobs via the Remote Access API, see the This Question for additional info on remote execution.

How to get the System properties from where Jenkins is accessed?

I have a server where Jenkins is configured and running as a service. My team is of 8 people who access the Jenkins via browser for performing deployments on demand.
How do get the System properties like the Username or the host name of the System where the Jenkins is accessed.
How do i configure the job so that i get to know who performed the deployment?
NOTE: I do not want to create users for all of them and provide credentials. There will be a unique credentials and everyone uses the same.
Regards
Kaushik
I think there is no way around to create different Users or use #Ian w suggestion.
If you stick to your idea to use only One credential for all user you should consider setting a Parameter Choice for everyone of your 8 People. So everyone pick his/her Name when he/she Starts a Job.
Take a looks at https://st-g.de/2016/12/parametrized-jenkins-pipelines

Can you use TFS API with only query strings? Trying to queue build from Slack

Using On-Premise TFS 2017 and Slack. Just trying to find a way for people to manually queue builds. Slack Slash Commands will almost work, but can't seem to send JSON bodies, so I'm trying to find out how to send credentials and definition IDs using only query strings...
Some background:
Our people cannot run unsigned Powershell Scripts because of Group Policy overrides for ExecutionPolicy.
Don't want to give people access to queue builds through web interface.
We are using CI/CD, but need to manually queue for QA/Demo builds.
Wanted to avoid using another app as a go-between if possible, since new environments for hosting are hard to come by here.
Is there a way to hit the TFS API through Slack Slash Commands?

JIRA Integration with external systems

I'm working on a POC to automate downstream processes in external systems based on JIRA processes and have hit a wall with the API. It appears to have great integration for pulling data about tickets out of JIRA and for the ability to externally generate tickets into JIRA.
However I don't see how to trigger external calls as a part of my workflows. For example if a ticket should be prevented from being routed to the next stage of a workflow without accessing a database to ensure availability of inventory first how could I do that in JIRA?
Based on attributes in the JIRA ticket upon final completion of the workflow we'd like to send a JMS or REST message or possibly update an external database. Is this possible?
Thanks all in advance for the help!
If you want to do a "before" check, use a Validator on the Workflow Transition.
I strongly suggest deploying the (free) Script Runner add-on. There you can implement a ton of things. For example, you'll get a new validator option "Script Validator", where you can specify a Groovy script that decides if it lets through the transition or aborts it.

How can I order a job in Control-M using a message queue?

I am trying to find a way to order a Control-M job via a message from an external application. We are using Control-M v8. We are able to send messages to the queue, but we have been unsuccessful in receiving messages that perform some sort of action in Control-m.
Erick, look at the documentation for the Control-M Business Process Integration Suite Manual. This suite provides the capability that you are looking for.
We have application back-end in UNix and, we use Control-M in-built utilities to call jobs from unix. The jobs should be created in desktop, and should have been uploaded to control M database without any specific schedule. A utility called 'ctmorder' can be used to call these jobs as and when required.

Resources