Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-26556

Method ajaxViaJenkins() does not work in GenericJsPortlet without credentials anymore

XMLWordPrintable

      Method ajaxViaJenkins() does not work in GenericJsPortlet without credentials anymore - just calling ajaxViaJenkins(url, callback) used to correctly call the signature

      	@JavaScriptMethod
          public HttpResponse ajaxViaJenkins(String urlStr, String user, String pw) {
      		return new ServerSideHttpCall(urlStr, user, pw);
          }
      

      on java side. This does not work anymore (stabler 500), with Jenkins version 1.580.1 only ajaxViaJenkins(url, user, pw, callback) works in js.

            ghenzler Georg Henzler
            ghenzler Georg Henzler
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: