[JIRA] [scriptler-plugin] (JENKINS-24031) GitHub remote script catalog tab not populated

2 views
Skip to first unread message

domi@fortysix.ch (JIRA)

unread,
Oct 28, 2015, 6:00:01 AM10/28/15
to jenkinsc...@googlegroups.com
Dominik Bartholdi commented on Bug JENKINS-24031
 
Re: GitHub remote script catalog tab not populated

is this still an issue?

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265)
Atlassian logo

sschuberth@gmail.com (JIRA)

unread,
Oct 28, 2015, 6:06:01 AM10/28/15
to jenkinsc...@googlegroups.com

Yes. Just tried it with Jenkins 1.634 and Scriptler 2.7. In fact, now the "ScriptlerWeb" tab in empty for me, too.

domi@fortysix.ch (JIRA)

unread,
Oct 28, 2015, 6:24:02 AM10/28/15
to jenkinsc...@googlegroups.com

scriptlerweb is not continued anymore:

JENKINS-29332 - integration will be removed with the next release

do you see any errors in the logs about github?

sschuberth@gmail.com (JIRA)

unread,
Oct 28, 2015, 6:28:01 AM10/28/15
to jenkinsc...@googlegroups.com

I've checked the Jenkins Log, no errors there.

domi@fortysix.ch (JIRA)

unread,
Oct 28, 2015, 6:58:01 AM10/28/15
to jenkinsc...@googlegroups.com

domi@fortysix.ch (JIRA)

unread,
Oct 28, 2015, 6:59:01 AM10/28/15
to jenkinsc...@googlegroups.com
Dominik Bartholdi edited a comment on Bug JENKINS-24031
are you able to access this file from your browser? http:// ftp updates.jenkins - nyc ci . osuosl. org/ pub/jenkins/ updates/ updates/ org.jenkinsci.plugins.scriptler.CentralScriptJsonCatalog.json

sschuberth@gmail.com (JIRA)

unread,
Oct 28, 2015, 7:01:01 AM10/28/15
to jenkinsc...@googlegroups.com

Yes, I can wget that file from the machine / as the user running Jenkins.

sschuberth@gmail.com (JIRA)

unread,
Oct 28, 2015, 7:02:01 AM10/28/15
to jenkinsc...@googlegroups.com
Sebastian Schuberth edited a comment on Bug JENKINS-24031
Yes, I can wget that file from the machine / as the user running Jenkins  (both URLs, the original one, and the one after your edit) .

domi@fortysix.ch (JIRA)

unread,
Oct 28, 2015, 7:05:01 AM10/28/15
to jenkinsc...@googlegroups.com

these files are downloaded via your browser, does it work there too?

sschuberth@gmail.com (JIRA)

unread,
Oct 28, 2015, 7:11:03 AM10/28/15
to jenkinsc...@googlegroups.com

You mean the file is downloaded by the client#s browser that is browsing the Jenkins' web interface? Well, yes, I can download the file also form the client's browser.

domi@fortysix.ch (JIRA)

unread,
Oct 28, 2015, 7:25:01 AM10/28/15
to jenkinsc...@googlegroups.com

yes...

in the HOME of jenkins you should see this file: "updates/org.jenkinsci.plugins.scriptler.CentralScriptJsonCatalog" is it there?
whats its content?

If the file is there, please delete it and start jenkins again. When you now access http://localhost:8080/scriptler/catalog, then the new version of the same file will be downloaded via your browser, you should be able to see this in the network view of e.g. firebug or any other browser developer tools.

sschuberth@gmail.com (JIRA)

unread,
Oct 28, 2015, 7:29:02 AM10/28/15
to jenkinsc...@googlegroups.com

The file is not there. The only contents of the "updates" directory are:

{{$ ls updates/
default.json hudson.tasks.Ant.AntInstaller hudson.tools.JDKInstaller
hudson.plugins.sonar.SonarRunnerInstaller hudson.tasks.Maven.MavenInstaller}}

sschuberth@gmail.com (JIRA)

unread,
Oct 28, 2015, 7:29:04 AM10/28/15
to jenkinsc...@googlegroups.com
Sebastian Schuberth edited a comment on Bug JENKINS-24031
The file is not there. The only contents of the "updates" directory are:

{ { code:shell}
$ ls updates/
default.json                               hudson.tasks.Ant.AntInstaller      hudson.tools.JDKInstaller
hudson.plugins.sonar.SonarRunnerInstaller  hudson.tasks.Maven.MavenInstaller

{code
} }

sschuberth@gmail.com (JIRA)

unread,
Oct 28, 2015, 7:30:01 AM10/28/15
to jenkinsc...@googlegroups.com

domi@fortysix.ch (JIRA)

unread,
Oct 28, 2015, 8:57:02 AM10/28/15
to jenkinsc...@googlegroups.com
Dominik Bartholdi updated an issue
 
Jenkins / Bug JENKINS-24031
Change By: Dominik Bartholdi
Attachment: Screen Shot 2015-10-28 at 13.55.38.png

domi@fortysix.ch (JIRA)

unread,
Oct 28, 2015, 9:01:02 AM10/28/15
to jenkinsc...@googlegroups.com
Dominik Bartholdi commented on Bug JENKINS-24031
 
Re: GitHub remote script catalog tab not populated

you can delete the content of the `updates` directory. Now start jenkins again, then access jenkins via browser and inspect the requests send via your browser - you should see the requests as in the screenshots I just attached to this issue.

Please let me know if you see them or not.

Please note: these files will be updated from time to time, but this can only be enforced if you delete the files from the directory.

sschuberth@gmail.com (JIRA)

unread,
Oct 28, 2015, 9:16:17 AM10/28/15
to jenkinsc...@googlegroups.com

I stopped the Jenkins service, deleted all files form the "updates" directory, and restarted the service. Although I didn't see any Scriptler files being downloaded, the "updates" directory now contains the "org.jenkinsci.plugins.scriptler.CentralScriptJsonCatalog" file, and the "GitHub" tab is populated.

It's a bit strange that I didn't see the file being downloaded, neither in Chrome or Firefox. In Chrome, which seems to be what you are using, the "Other" filter on the "Network" tab for me only shows an empty view.

domi@fortysix.ch (JIRA)

unread,
Oct 28, 2015, 9:19:03 AM10/28/15
to jenkinsc...@googlegroups.com

strange... ...the "Doc" filter should also show it...

anyway - does mean that the GH catalog is now showing up for you?

sschuberth@gmail.com (JIRA)

unread,
Oct 28, 2015, 9:22:01 AM10/28/15
to jenkinsc...@googlegroups.com

It is, that's what I meant with

the "GitHub" tab is populated

above. But isn't there a way for Scriptler to download the file (again) if it's missing?

domi@fortysix.ch (JIRA)

unread,
Oct 28, 2015, 9:25:01 AM10/28/15
to jenkinsc...@googlegroups.com

This is whats usually is done in background (I can't recall the interval) - but I currently don't know why this was not working for you

frits.vanderholst@tassinternational.com (JIRA)

unread,
Feb 25, 2016, 10:58:01 AM2/25/16
to jenkinsc...@googlegroups.com

I had the exact same problem. Stop jenkins, clear updates folder, start Jenkins fixed the problem for me too.
One note that might help analysing this problem. I did install the Scriptler plugin without reboot.. Maybe the plugin just needs a Jenkins restart to pick up the repo syncing?

jonatasmello@gmail.com (JIRA)

unread,
May 4, 2020, 9:39:02 AM5/4/20
to jenkinsc...@googlegroups.com

Error log says:

 

May 03, 2020 9:42:35 PM WARNING net.sf.json.JSONObject morphPropertyValue
Can't transform property 'parameters' from java.lang.String into java.util.List. Will register a default Morpher

the issue is related to METADATA information in this plugin:
https://github.com/jenkinsci/jenkins-scripts/blob/master/scriptler/listEC2Instances.groovy

"parameters" : "",

should be and array

"parameters" : [],

Fix:
Open the file "\updates\org.jenkinsci.plugins.scriptler.CentralScriptJsonCatalog.json"
and replace the quotes ("") by the brackets ([])

save the file, now the Remote Script catalogs should populate.

This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages