<https://stackoverflow.com/questions/25155148/jenkins-how-to-extract-current-login-user#>
I have problem with Jenkins.
I create project in PHP (PHP API master) (using in description window
inside Jenkins) - and i need current login user.
Is it possible? How to extract login?
Now i can extract jobs and views.
echo '<br><br>Jobs:';
$view = $jenkins->getView('All'); foreach ($view->getJobs() as $job)
{
echo '<br>'.$job->getName();
}
Is there a similar function serve to user?
--
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 [email protected].
For more options, visit https://groups.google.com/d/optout.