spira plugin for jenkins

Thursday, December 4, 2014
Avatar
I have a problem with the use of the spira plugin for jenkins. We have automated tests, running everyday in jenkins, now i need to get the results of those tests (result of the jobs in jenkins) into spiratest.
But I cannot fill in a variable that specifies the latest deploy number.

The plugin is apparently not able to translate jenkins variables, filling in the "Release Version Number" field with for example $VAR , gives as result in the log:
Error sending results to SpiraTest server (Unable to locate a release with version number '$VAR' in project PR12)
You can replicate this quite easily, setup a jenkins job, create a string parameter with default value filled in, fill in the spira config with project number and release version number , execute job and check the log.

Right now the plugin is quite useless for us, we do NOT want to change the version number by hand every new release, deploy,...
Another thing that would be nice is to specify a non-existant release version number.
Now this gives the following error:
A release with the version number '...' does not exist in the Spira project PR12
It would be nice if it just creates the release instead.

7 Replies
Thursday, December 4, 2014
Avatar
re: ruben.isenborghs Thursday, December 4, 2014
Hi Ruben

The ability to use variables in the release version number is a known enhancement that we are tracking.

If you need it sooner than that we can supply you with the source code to the Jenkins plugin, just let us know!

Regards

Adam

Friday, December 5, 2014
Avatar
re: inflectra.david Thursday, December 4, 2014
Hello Adam,

Providing the source code of the plugin would be of great help to us!

Thanks in advance
Ruben
Thursday, September 15, 2016
Avatar
re: inflectra.david Thursday, December 4, 2014
Any update on this enhancement?  I'm in the same boat as Ruben with automation.
Friday, September 16, 2016
Avatar
re: Patric.Fox Thursday, September 15, 2016
Hi Patric,

I looked into it and found that this enhancement has not yet been implemented. In fact, the Jenkins plugin has not been updated at all. I added a note to the enhancement in our internal SpiraTeam instance, saying that you are also interested in this feature.

Regards,
Elise
Friday, November 11, 2016
Avatar
re: inflectra.kat Friday, September 16, 2016
Any progress made on the plugin? I'm also interested in the auto-increment feature added to the plugin. 
Tuesday, March 7, 2017
Avatar
re: ruben.isenborghs Thursday, December 4, 2014

Any update on this feature? The original post was way back in 2014 ... ;-)

Be finally nice to have this feature available.

Wednesday, May 10, 2017
Avatar
re: jefrydenny Tuesday, March 7, 2017

Any updates on this one? 

Having to update manually the release number is not an option fot me.

Spira Helps You Deliver Quality Software, Faster and With Lower Risk

And if you have any questions, please email or call us at +1 (202) 558-6885

 

Statistics
  • Started: Thursday, December 4, 2014
  • Last Reply: Wednesday, May 10, 2017
  • Replies: 7
  • Views: 14676