I don't believe that such a data element exists. In Jenkins, the project name 
is the key for everything.

----- Original Message -----
From: jenkinsci-users@googlegroups.com
To: jenkinsci-users@googlegroups.com
At: Jul 23 2013 13:09:50

Hello,

Does any one know of a place or a field in Jenkins that is static and
unique for each project in the projects list in Jenkins?

Is there a plugin out there that would give me a unique identifier for the
project?

The project name itself is not unique due to the fact that if you rename
the job all of the data about the job is renamed without and effictively leaves 
no trace of the old project name (that I know of). When that happens my 
database plugin (that I am almost finished developing) starts over as if it is 
a new job. I'd like to continue trending the info with the new name. 


For example -

I have a table full of the API/XML for ProjectX
When I rename ProjectX to ProjectY Jenkins see's that ProjectX no longer
exists and renames the entire job.

If I am keeping a history of all of the API/XML and a job is renamed then I
lost track of the history.

What I would need is something like -

Project# 1234
ProjectName ProjectX
Build# 45

Then when it is renamecd

Project# 1234
ProjectName ProjectY
Build# 45 


I'm currently scraping the data off of of this URL to grab project information 

http://<JenkinsServer>/view/All/cc.xml 
 -- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to