Heya,
we are using jenkins in combination with capistrano to deploy the artifacts 
build by jenkins directly to our servers. To get the URL for an artifact we 
are trying to get the build number for a specific git branch/tag we build 
in jenkins (doing this with json API calls). We noticed that the API shows 
only one entry for a specific branch/tag (always the last one). Sometimes 
it is the case that the latest build failed, so we would like to deploy the 
last successful build of a specific branch/tag from git. Currently I would 
like to find the build number via the build history of jenkins, but it 
seems jenkins doesn't provide API access to the build history. Does anyone 
have an idea how to get the last successful build for a specific git 
branch/tag via the API?

Cheers
Nick

-- 
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/d/optout.

Reply via email to