|
|
|
Issue Type:
|
Bug
|
Affects Versions:
|
current |
Assignee:
|
Nicolas De Loof
|
Components:
|
git |
Created:
|
12/Mar/14 5:45 PM
|
Description:
|
After updating Git Plugin to version 2.0.4, Jenkins job that was trigged by polling not retrieving lastBuiltRevision key for JSON call.
I am using following query in the job to identify last successful build's git SHA key.
CURL_RESULT=`curl -s -S $JOB_URL'lastSuccessfulBuild/api/json'`
git_last_successful_build_shakey=`echo "${CURL_RESULT}" | python -c 'import json,sys,os;obj=json.loads(sys.stdin.read());print obj["'"actions"'"][4]["'"lastBuiltRevision"'"]["'"SHA1"'"]'`
When I use direct JSON URL it is displaying the value but job trigged by polling is not getting the key lastBuiltRevision
|
Environment:
|
Jenkins server running on Linux platform.
|
Fix Versions:
|
current |
Project:
|
Jenkins
|
Priority:
|
Major
|
Reporter:
|
Vasee Seeva
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit
https://groups.google.com/d/optout.