ashcsi1322 Posted January 23, 2015 Share Posted January 23, 2015 Hi All,I am using the latest jrs php client. To get job details I am using the following code:$jobs = $this->_client->jobService()->searchJobs($uri); [/code]But the above code returns instance of JobSummary class. How do I get other details of the entire Job like trigger, source, repository destination etc ?thanksashy Link to comment Share on other sites More sharing options...
grantbacon Posted May 11, 2015 Share Posted May 11, 2015 Hi ashcsi1322,After you obtain a JobSummary, you can use its ID with the getJob method to obtain the full details of a scheduled job, as below: $job_details = $c->jobService()->getJob($jobs[0]->id);[/code] Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now