Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to use the api #46

Open
jagdish-sp opened this issue Oct 13, 2016 · 0 comments
Open

Not able to use the api #46

jagdish-sp opened this issue Oct 13, 2016 · 0 comments

Comments

@jagdish-sp
Copy link

jagdish-sp commented Oct 13, 2016

Hi,
I was trying to use the api in my php code to see if I can get the jenkins data and display it on a page.
I wrote a sample script, but I do not see anything happening. I have installed the package on my local system using "php composer.phar require jenkins-khan/jenkins-api=dev-master"

Then used the below script:

:@test-jenkins.internal.xyzcomp.com:8443'); $view = $jenkins->getView('TestView'); foreach ($view->getJobs() as $job) { var_dump($job->getName()); } ?>

Can you please help me fix the problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant