[JIRA] (JENKINS-12750) Scriptler 2.0 breaks cc.xml-View for Anonymous User having READ perm on "Overall" and "Job"

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-12750) Scriptler 2.0 breaks cc.xml-View for Anonymous User having READ perm on "Overall" and "Job"

JIRA noreply@jenkins-ci.org
ctrabold created JENKINS-12750:
----------------------------------

             Summary: Scriptler 2.0 breaks cc.xml-View for Anonymous User having READ perm on "Overall" and "Job"
                 Key: JENKINS-12750
                 URL: https://issues.jenkins-ci.org/browse/JENKINS-12750
             Project: Jenkins
          Issue Type: Bug
          Components: scriptler
    Affects Versions: current
         Environment: executable-war /usr/share/jenkins/jenkins.war
file.encoding UTF-8
file.encoding.pkg sun.io
file.separator /
hudson.diyChunking true
java.awt.graphicsenv sun.awt.X11GraphicsEnvironment
java.awt.headless true
java.awt.printerjob sun.print.PSPrinterJob
java.class.path /usr/share/jenkins/jenkins.war
java.class.version 50.0
java.endorsed.dirs /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/endorsed
java.ext.dirs /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/ext:/usr/java/packages/lib/ext
java.home /usr/lib/jvm/java-6-sun-1.6.0.26/jre
java.io.tmpdir /tmp
java.library.path /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/server:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
java.runtime.name Java(TM) SE Runtime Environment
java.runtime.version 1.6.0_26-b03
java.specification.name Java Platform API Specification
java.specification.vendor Sun Microsystems Inc.
java.specification.version 1.6
java.vendor Sun Microsystems Inc.
java.vendor.url http://java.sun.com/
java.vendor.url.bug http://java.sun.com/cgi-bin/bugreport.cgi
java.version 1.6.0_26
java.vm.info mixed mode
java.vm.name Java HotSpot(TM) 64-Bit Server VM
java.vm.specification.name Java Virtual Machine Specification
java.vm.specification.vendor Sun Microsystems Inc.
java.vm.specification.version 1.0
java.vm.vendor Sun Microsystems Inc.
java.vm.version 20.1-b02
javamelody.analytics-id UA-1335263-7
javamelody.http-transform-pattern /\d+/|/site/.+|avadoc/.+|/ws/.+|obertura/.+|estReport/.+|iolations/file/.+|/user/.+|/static/\w+/
javamelody.no-database true
javamelody.storage-directory //var/lib/jenkins/monitoring
javamelody.system-actions-enabled true
jna.platform.library.path /usr/lib64:/lib64:/usr/lib:/lib
line.separator
os.arch amd64
os.name Linux
os.version 2.6.32-37-server
path.separator :
pid 21367
sun.arch.data.model 64
sun.boot.class.path /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/resources.jar:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/rt.jar:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/jsse.jar:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/jce.jar:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/charsets.jar:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/modules/jdk.boot.jar:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/classes
sun.boot.library.path /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64
sun.cpu.endian little
sun.cpu.isalist
sun.io.unicode.encoding UnicodeLittle
sun.java.command /usr/share/jenkins/jenkins.war --webroot=/var/run/jenkins/war --httpPort=8081 --ajp13Port=-1
sun.java.launcher SUN_STANDARD
sun.jnu.encoding UTF-8
sun.management.compiler HotSpot 64-Bit Tiered Compilers
sun.os.patch.level unknown
svnkit.http.methods Digest,Basic,NTLM,Negotiate
svnkit.ssh2.persistent false
user.country US
user.dir /
user.home /var/lib/jenkins
user.language en
user.name jenkins
user.timezone Europe/Berlin
            Reporter: ctrabold
            Assignee: domi


After upgrading Jenkins to Scriptler 2.0 on Jenkins 1.450 calling "cc.xml" throws an 500 error:

  https://gist.github.com/1817603

The error appears when calling the URL as an *anonymous user* having READ permissions on "Overall" and "Job".

So I think it is somehow related with https://github.com/jenkinsci/scriptler-plugin/pull/2


Downgrading to Scriptler 1.5 fixed the problem.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-12750) Scriptler 2.0 breaks cc.xml-View for Anonymous User having READ perm on "Overall" and "Job"

JIRA noreply@jenkins-ci.org

    [ https://issues.jenkins-ci.org/browse/JENKINS-12750?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=158965#comment-158965 ]

ctrabold commented on JENKINS-12750:
------------------------------------

Update: Downgrading fixed the Error-Message but made Scriptler disappear. :-/

Could somebody confirm that it's not possible to install an older version of scriptler after installing 2.0?
               

> Scriptler 2.0 breaks cc.xml-View for Anonymous User having READ perm on "Overall" and "Job"
> -------------------------------------------------------------------------------------------
>
>                 Key: JENKINS-12750
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-12750
>             Project: Jenkins
>          Issue Type: Bug
>          Components: scriptler
>    Affects Versions: current
>         Environment: executable-war /usr/share/jenkins/jenkins.war
> file.encoding UTF-8
> file.encoding.pkg sun.io
> file.separator /
> hudson.diyChunking true
> java.awt.graphicsenv sun.awt.X11GraphicsEnvironment
> java.awt.headless true
> java.awt.printerjob sun.print.PSPrinterJob
> java.class.path /usr/share/jenkins/jenkins.war
> java.class.version 50.0
> java.endorsed.dirs /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/endorsed
> java.ext.dirs /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/ext:/usr/java/packages/lib/ext
> java.home /usr/lib/jvm/java-6-sun-1.6.0.26/jre
> java.io.tmpdir /tmp
> java.library.path /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/server:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
> java.runtime.name Java(TM) SE Runtime Environment
> java.runtime.version 1.6.0_26-b03
> java.specification.name Java Platform API Specification
> java.specification.vendor Sun Microsystems Inc.
> java.specification.version 1.6
> java.vendor Sun Microsystems Inc.
> java.vendor.url http://java.sun.com/
> java.vendor.url.bug http://java.sun.com/cgi-bin/bugreport.cgi
> java.version 1.6.0_26
> java.vm.info mixed mode
> java.vm.name Java HotSpot(TM) 64-Bit Server VM
> java.vm.specification.name Java Virtual Machine Specification
> java.vm.specification.vendor Sun Microsystems Inc.
> java.vm.specification.version 1.0
> java.vm.vendor Sun Microsystems Inc.
> java.vm.version 20.1-b02
> javamelody.analytics-id UA-1335263-7
> javamelody.http-transform-pattern /\d+/|/site/.+|avadoc/.+|/ws/.+|obertura/.+|estReport/.+|iolations/file/.+|/user/.+|/static/\w+/
> javamelody.no-database true
> javamelody.storage-directory //var/lib/jenkins/monitoring
> javamelody.system-actions-enabled true
> jna.platform.library.path /usr/lib64:/lib64:/usr/lib:/lib
> line.separator
> os.arch amd64
> os.name Linux
> os.version 2.6.32-37-server
> path.separator :
> pid 21367
> sun.arch.data.model 64
> sun.boot.class.path /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/resources.jar:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/rt.jar:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/jsse.jar:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/jce.jar:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/charsets.jar:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/modules/jdk.boot.jar:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/classes
> sun.boot.library.path /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64
> sun.cpu.endian little
> sun.cpu.isalist
> sun.io.unicode.encoding UnicodeLittle
> sun.java.command /usr/share/jenkins/jenkins.war --webroot=/var/run/jenkins/war --httpPort=8081 --ajp13Port=-1
> sun.java.launcher SUN_STANDARD
> sun.jnu.encoding UTF-8
> sun.management.compiler HotSpot 64-Bit Tiered Compilers
> sun.os.patch.level unknown
> svnkit.http.methods Digest,Basic,NTLM,Negotiate
> svnkit.ssh2.persistent false
> user.country US
> user.dir /
> user.home /var/lib/jenkins
> user.language en
> user.name jenkins
> user.timezone Europe/Berlin
>            Reporter: ctrabold
>            Assignee: domi
>              Labels: plugin
>
> After upgrading Jenkins to Scriptler 2.0 on Jenkins 1.450 calling "cc.xml" throws an 500 error:
>   https://gist.github.com/1817603
> The error appears when calling the URL as an *anonymous user* having READ permissions on "Overall" and "Job".
> So I think it is somehow related with https://github.com/jenkinsci/scriptler-plugin/pull/2
> Downgrading to Scriptler 1.5 fixed the problem.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-12750) Scriptler 2.0 breaks cc.xml-View for Anonymous User having READ perm on "Overall" and "Job"

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

    [ https://issues.jenkins-ci.org/browse/JENKINS-12750?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=158986#comment-158986 ]

domi commented on JENKINS-12750:
--------------------------------

unfortunately downgrade will most likely not work - the internal structure was changed quite a bit and therefore the format of the scriptler.xml changed too. ...Only upgrade is supported - sorry.

Can you please explane what "cc.xml" is? Where does it come from? How can I reproduce the issue?
               

> Scriptler 2.0 breaks cc.xml-View for Anonymous User having READ perm on "Overall" and "Job"
> -------------------------------------------------------------------------------------------
>
>                 Key: JENKINS-12750
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-12750
>             Project: Jenkins
>          Issue Type: Bug
>          Components: scriptler
>    Affects Versions: current
>         Environment: executable-war /usr/share/jenkins/jenkins.war
> file.encoding UTF-8
> file.encoding.pkg sun.io
> file.separator /
> hudson.diyChunking true
> java.awt.graphicsenv sun.awt.X11GraphicsEnvironment
> java.awt.headless true
> java.awt.printerjob sun.print.PSPrinterJob
> java.class.path /usr/share/jenkins/jenkins.war
> java.class.version 50.0
> java.endorsed.dirs /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/endorsed
> java.ext.dirs /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/ext:/usr/java/packages/lib/ext
> java.home /usr/lib/jvm/java-6-sun-1.6.0.26/jre
> java.io.tmpdir /tmp
> java.library.path /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/server:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
> java.runtime.name Java(TM) SE Runtime Environment
> java.runtime.version 1.6.0_26-b03
> java.specification.name Java Platform API Specification
> java.specification.vendor Sun Microsystems Inc.
> java.specification.version 1.6
> java.vendor Sun Microsystems Inc.
> java.vendor.url http://java.sun.com/
> java.vendor.url.bug http://java.sun.com/cgi-bin/bugreport.cgi
> java.version 1.6.0_26
> java.vm.info mixed mode
> java.vm.name Java HotSpot(TM) 64-Bit Server VM
> java.vm.specification.name Java Virtual Machine Specification
> java.vm.specification.vendor Sun Microsystems Inc.
> java.vm.specification.version 1.0
> java.vm.vendor Sun Microsystems Inc.
> java.vm.version 20.1-b02
> javamelody.analytics-id UA-1335263-7
> javamelody.http-transform-pattern /\d+/|/site/.+|avadoc/.+|/ws/.+|obertura/.+|estReport/.+|iolations/file/.+|/user/.+|/static/\w+/
> javamelody.no-database true
> javamelody.storage-directory //var/lib/jenkins/monitoring
> javamelody.system-actions-enabled true
> jna.platform.library.path /usr/lib64:/lib64:/usr/lib:/lib
> line.separator
> os.arch amd64
> os.name Linux
> os.version 2.6.32-37-server
> path.separator :
> pid 21367
> sun.arch.data.model 64
> sun.boot.class.path /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/resources.jar:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/rt.jar:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/jsse.jar:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/jce.jar:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/charsets.jar:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/modules/jdk.boot.jar:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/classes
> sun.boot.library.path /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64
> sun.cpu.endian little
> sun.cpu.isalist
> sun.io.unicode.encoding UnicodeLittle
> sun.java.command /usr/share/jenkins/jenkins.war --webroot=/var/run/jenkins/war --httpPort=8081 --ajp13Port=-1
> sun.java.launcher SUN_STANDARD
> sun.jnu.encoding UTF-8
> sun.management.compiler HotSpot 64-Bit Tiered Compilers
> sun.os.patch.level unknown
> svnkit.http.methods Digest,Basic,NTLM,Negotiate
> svnkit.ssh2.persistent false
> user.country US
> user.dir /
> user.home /var/lib/jenkins
> user.language en
> user.name jenkins
> user.timezone Europe/Berlin
>            Reporter: ctrabold
>            Assignee: domi
>              Labels: plugin
>
> After upgrading Jenkins to Scriptler 2.0 on Jenkins 1.450 calling "cc.xml" throws an 500 error:
>   https://gist.github.com/1817603
> The error appears when calling the URL as an *anonymous user* having READ permissions on "Overall" and "Job".
> So I think it is somehow related with https://github.com/jenkinsci/scriptler-plugin/pull/2
> Downgrading to Scriptler 1.5 fixed the problem.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-12750) Scriptler 2.0 breaks cc.xml-View for Anonymous User having READ perm on "Overall" and "Job"

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

    [ https://issues.jenkins-ci.org/browse/JENKINS-12750?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=158989#comment-158989 ]

ctrabold commented on JENKINS-12750:
------------------------------------

Reproduce by calling your <a href="http://jenkins-server:port/cc.xml">http://jenkins-server:port/cc.xml

The "cc.xml" is available on every Jenkins installation IIRC:

  https://wiki.jenkins-ci.org/display/JENKINS/Monitoring+Jenkins

We use this file for monitoring all our build status. Thus most Build-Monitors could be affected by this issue I'm afraid.

Too bad the downgrade doesn't work. My daily work pretty much depends on Scriptler (nice Plugin!) ;)

HTH
               

> Scriptler 2.0 breaks cc.xml-View for Anonymous User having READ perm on "Overall" and "Job"
> -------------------------------------------------------------------------------------------
>
>                 Key: JENKINS-12750
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-12750
>             Project: Jenkins
>          Issue Type: Bug
>          Components: scriptler
>    Affects Versions: current
>         Environment: executable-war /usr/share/jenkins/jenkins.war
> file.encoding UTF-8
> file.encoding.pkg sun.io
> file.separator /
> hudson.diyChunking true
> java.awt.graphicsenv sun.awt.X11GraphicsEnvironment
> java.awt.headless true
> java.awt.printerjob sun.print.PSPrinterJob
> java.class.path /usr/share/jenkins/jenkins.war
> java.class.version 50.0
> java.endorsed.dirs /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/endorsed
> java.ext.dirs /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/ext:/usr/java/packages/lib/ext
> java.home /usr/lib/jvm/java-6-sun-1.6.0.26/jre
> java.io.tmpdir /tmp
> java.library.path /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/server:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
> java.runtime.name Java(TM) SE Runtime Environment
> java.runtime.version 1.6.0_26-b03
> java.specification.name Java Platform API Specification
> java.specification.vendor Sun Microsystems Inc.
> java.specification.version 1.6
> java.vendor Sun Microsystems Inc.
> java.vendor.url http://java.sun.com/
> java.vendor.url.bug http://java.sun.com/cgi-bin/bugreport.cgi
> java.version 1.6.0_26
> java.vm.info mixed mode
> java.vm.name Java HotSpot(TM) 64-Bit Server VM
> java.vm.specification.name Java Virtual Machine Specification
> java.vm.specification.vendor Sun Microsystems Inc.
> java.vm.specification.version 1.0
> java.vm.vendor Sun Microsystems Inc.
> java.vm.version 20.1-b02
> javamelody.analytics-id UA-1335263-7
> javamelody.http-transform-pattern /\d+/|/site/.+|avadoc/.+|/ws/.+|obertura/.+|estReport/.+|iolations/file/.+|/user/.+|/static/\w+/
> javamelody.no-database true
> javamelody.storage-directory //var/lib/jenkins/monitoring
> javamelody.system-actions-enabled true
> jna.platform.library.path /usr/lib64:/lib64:/usr/lib:/lib
> line.separator
> os.arch amd64
> os.name Linux
> os.version 2.6.32-37-server
> path.separator :
> pid 21367
> sun.arch.data.model 64
> sun.boot.class.path /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/resources.jar:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/rt.jar:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/jsse.jar:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/jce.jar:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/charsets.jar:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/modules/jdk.boot.jar:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/classes
> sun.boot.library.path /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64
> sun.cpu.endian little
> sun.cpu.isalist
> sun.io.unicode.encoding UnicodeLittle
> sun.java.command /usr/share/jenkins/jenkins.war --webroot=/var/run/jenkins/war --httpPort=8081 --ajp13Port=-1
> sun.java.launcher SUN_STANDARD
> sun.jnu.encoding UTF-8
> sun.management.compiler HotSpot 64-Bit Tiered Compilers
> sun.os.patch.level unknown
> svnkit.http.methods Digest,Basic,NTLM,Negotiate
> svnkit.ssh2.persistent false
> user.country US
> user.dir /
> user.home /var/lib/jenkins
> user.language en
> user.name jenkins
> user.timezone Europe/Berlin
>            Reporter: ctrabold
>            Assignee: domi
>              Labels: plugin
>
> After upgrading Jenkins to Scriptler 2.0 on Jenkins 1.450 calling "cc.xml" throws an 500 error:
>   https://gist.github.com/1817603
> The error appears when calling the URL as an *anonymous user* having READ permissions on "Overall" and "Job".
> So I think it is somehow related with https://github.com/jenkinsci/scriptler-plugin/pull/2
> Downgrading to Scriptler 1.5 fixed the problem.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-12750) Scriptler 2.0 breaks cc.xml-View for Anonymous User having READ perm on "Overall" and "Job"

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

    [ https://issues.jenkins-ci.org/browse/JENKINS-12750?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=159225#comment-159225 ]

SCM/JIRA link daemon commented on JENKINS-12750:
------------------------------------------------

Code changed in jenkins
User: imod
Path:
 src/main/java/org/jenkinsci/plugins/scriptler/ScriptlerManagment.java
http://jenkins-ci.org/commit/scriptler-plugin/6a70d7f8913b6d01d3026a5959010e7449b10be9
Log:
  a try to fix an issue with accessing cc.xml (JENKINS-12750)





               

> Scriptler 2.0 breaks cc.xml-View for Anonymous User having READ perm on "Overall" and "Job"
> -------------------------------------------------------------------------------------------
>
>                 Key: JENKINS-12750
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-12750
>             Project: Jenkins
>          Issue Type: Bug
>          Components: scriptler
>    Affects Versions: current
>         Environment: executable-war /usr/share/jenkins/jenkins.war
> file.encoding UTF-8
> file.encoding.pkg sun.io
> file.separator /
> hudson.diyChunking true
> java.awt.graphicsenv sun.awt.X11GraphicsEnvironment
> java.awt.headless true
> java.awt.printerjob sun.print.PSPrinterJob
> java.class.path /usr/share/jenkins/jenkins.war
> java.class.version 50.0
> java.endorsed.dirs /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/endorsed
> java.ext.dirs /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/ext:/usr/java/packages/lib/ext
> java.home /usr/lib/jvm/java-6-sun-1.6.0.26/jre
> java.io.tmpdir /tmp
> java.library.path /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/server:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
> java.runtime.name Java(TM) SE Runtime Environment
> java.runtime.version 1.6.0_26-b03
> java.specification.name Java Platform API Specification
> java.specification.vendor Sun Microsystems Inc.
> java.specification.version 1.6
> java.vendor Sun Microsystems Inc.
> java.vendor.url http://java.sun.com/
> java.vendor.url.bug http://java.sun.com/cgi-bin/bugreport.cgi
> java.version 1.6.0_26
> java.vm.info mixed mode
> java.vm.name Java HotSpot(TM) 64-Bit Server VM
> java.vm.specification.name Java Virtual Machine Specification
> java.vm.specification.vendor Sun Microsystems Inc.
> java.vm.specification.version 1.0
> java.vm.vendor Sun Microsystems Inc.
> java.vm.version 20.1-b02
> javamelody.analytics-id UA-1335263-7
> javamelody.http-transform-pattern /\d+/|/site/.+|avadoc/.+|/ws/.+|obertura/.+|estReport/.+|iolations/file/.+|/user/.+|/static/\w+/
> javamelody.no-database true
> javamelody.storage-directory //var/lib/jenkins/monitoring
> javamelody.system-actions-enabled true
> jna.platform.library.path /usr/lib64:/lib64:/usr/lib:/lib
> line.separator
> os.arch amd64
> os.name Linux
> os.version 2.6.32-37-server
> path.separator :
> pid 21367
> sun.arch.data.model 64
> sun.boot.class.path /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/resources.jar:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/rt.jar:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/jsse.jar:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/jce.jar:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/charsets.jar:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/modules/jdk.boot.jar:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/classes
> sun.boot.library.path /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64
> sun.cpu.endian little
> sun.cpu.isalist
> sun.io.unicode.encoding UnicodeLittle
> sun.java.command /usr/share/jenkins/jenkins.war --webroot=/var/run/jenkins/war --httpPort=8081 --ajp13Port=-1
> sun.java.launcher SUN_STANDARD
> sun.jnu.encoding UTF-8
> sun.management.compiler HotSpot 64-Bit Tiered Compilers
> sun.os.patch.level unknown
> svnkit.http.methods Digest,Basic,NTLM,Negotiate
> svnkit.ssh2.persistent false
> user.country US
> user.dir /
> user.home /var/lib/jenkins
> user.language en
> user.name jenkins
> user.timezone Europe/Berlin
>            Reporter: ctrabold
>            Assignee: domi
>              Labels: plugin
>
> After upgrading Jenkins to Scriptler 2.0 on Jenkins 1.450 calling "cc.xml" throws an 500 error:
>   https://gist.github.com/1817603
> The error appears when calling the URL as an *anonymous user* having READ permissions on "Overall" and "Job".
> So I think it is somehow related with https://github.com/jenkinsci/scriptler-plugin/pull/2
> Downgrading to Scriptler 1.5 fixed the problem.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-12750) Scriptler 2.0 breaks cc.xml-View for Anonymous User having READ perm on "Overall" and "Job"

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

    [ https://issues.jenkins-ci.org/browse/JENKINS-12750?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=159226#comment-159226 ]

domi commented on JENKINS-12750:
--------------------------------

as I can't reproduce it, its quite hard to find this issue - in fact I'm not sure how scriptler can cause anything like this.
But I did make a small change with a little chance to fix it. Could you please have a try with this version:

http://ci.jenkins-ci.org/view/Plugins/job/plugins_scriptler/lastBuild/org.jenkins-ci.plugins$scriptler/artifact/org.jenkins-ci.plugins/scriptler/2.1-SNAPSHOT/scriptler-2.1-SNAPSHOT.hpi


let me know how it does...
               

> Scriptler 2.0 breaks cc.xml-View for Anonymous User having READ perm on "Overall" and "Job"
> -------------------------------------------------------------------------------------------
>
>                 Key: JENKINS-12750
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-12750
>             Project: Jenkins
>          Issue Type: Bug
>          Components: scriptler
>    Affects Versions: current
>         Environment: executable-war /usr/share/jenkins/jenkins.war
> file.encoding UTF-8
> file.encoding.pkg sun.io
> file.separator /
> hudson.diyChunking true
> java.awt.graphicsenv sun.awt.X11GraphicsEnvironment
> java.awt.headless true
> java.awt.printerjob sun.print.PSPrinterJob
> java.class.path /usr/share/jenkins/jenkins.war
> java.class.version 50.0
> java.endorsed.dirs /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/endorsed
> java.ext.dirs /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/ext:/usr/java/packages/lib/ext
> java.home /usr/lib/jvm/java-6-sun-1.6.0.26/jre
> java.io.tmpdir /tmp
> java.library.path /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/server:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
> java.runtime.name Java(TM) SE Runtime Environment
> java.runtime.version 1.6.0_26-b03
> java.specification.name Java Platform API Specification
> java.specification.vendor Sun Microsystems Inc.
> java.specification.version 1.6
> java.vendor Sun Microsystems Inc.
> java.vendor.url http://java.sun.com/
> java.vendor.url.bug http://java.sun.com/cgi-bin/bugreport.cgi
> java.version 1.6.0_26
> java.vm.info mixed mode
> java.vm.name Java HotSpot(TM) 64-Bit Server VM
> java.vm.specification.name Java Virtual Machine Specification
> java.vm.specification.vendor Sun Microsystems Inc.
> java.vm.specification.version 1.0
> java.vm.vendor Sun Microsystems Inc.
> java.vm.version 20.1-b02
> javamelody.analytics-id UA-1335263-7
> javamelody.http-transform-pattern /\d+/|/site/.+|avadoc/.+|/ws/.+|obertura/.+|estReport/.+|iolations/file/.+|/user/.+|/static/\w+/
> javamelody.no-database true
> javamelody.storage-directory //var/lib/jenkins/monitoring
> javamelody.system-actions-enabled true
> jna.platform.library.path /usr/lib64:/lib64:/usr/lib:/lib
> line.separator
> os.arch amd64
> os.name Linux
> os.version 2.6.32-37-server
> path.separator :
> pid 21367
> sun.arch.data.model 64
> sun.boot.class.path /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/resources.jar:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/rt.jar:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/jsse.jar:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/jce.jar:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/charsets.jar:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/modules/jdk.boot.jar:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/classes
> sun.boot.library.path /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64
> sun.cpu.endian little
> sun.cpu.isalist
> sun.io.unicode.encoding UnicodeLittle
> sun.java.command /usr/share/jenkins/jenkins.war --webroot=/var/run/jenkins/war --httpPort=8081 --ajp13Port=-1
> sun.java.launcher SUN_STANDARD
> sun.jnu.encoding UTF-8
> sun.management.compiler HotSpot 64-Bit Tiered Compilers
> sun.os.patch.level unknown
> svnkit.http.methods Digest,Basic,NTLM,Negotiate
> svnkit.ssh2.persistent false
> user.country US
> user.dir /
> user.home /var/lib/jenkins
> user.language en
> user.name jenkins
> user.timezone Europe/Berlin
>            Reporter: ctrabold
>            Assignee: domi
>              Labels: plugin
>
> After upgrading Jenkins to Scriptler 2.0 on Jenkins 1.450 calling "cc.xml" throws an 500 error:
>   https://gist.github.com/1817603
> The error appears when calling the URL as an *anonymous user* having READ permissions on "Overall" and "Job".
> So I think it is somehow related with https://github.com/jenkinsci/scriptler-plugin/pull/2
> Downgrading to Scriptler 1.5 fixed the problem.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-12750) Scriptler 2.0 breaks cc.xml-View for Anonymous User having READ perm on "Overall" and "Job"

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

    [ https://issues.jenkins-ci.org/browse/JENKINS-12750?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=159358#comment-159358 ]

ctrabold commented on JENKINS-12750:
------------------------------------

Seems your change fixed the issue! :)

# I have "2.1-SNAPSHOT (private-02/17/2012 20:02-jenkins)" installed
# I can use Scriptler
# AND the cc.xml shows up with valid content!

This is great news!

BIG THANKS!
               

> Scriptler 2.0 breaks cc.xml-View for Anonymous User having READ perm on "Overall" and "Job"
> -------------------------------------------------------------------------------------------
>
>                 Key: JENKINS-12750
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-12750
>             Project: Jenkins
>          Issue Type: Bug
>          Components: scriptler
>    Affects Versions: current
>         Environment: executable-war /usr/share/jenkins/jenkins.war
> file.encoding UTF-8
> file.encoding.pkg sun.io
> file.separator /
> hudson.diyChunking true
> java.awt.graphicsenv sun.awt.X11GraphicsEnvironment
> java.awt.headless true
> java.awt.printerjob sun.print.PSPrinterJob
> java.class.path /usr/share/jenkins/jenkins.war
> java.class.version 50.0
> java.endorsed.dirs /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/endorsed
> java.ext.dirs /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/ext:/usr/java/packages/lib/ext
> java.home /usr/lib/jvm/java-6-sun-1.6.0.26/jre
> java.io.tmpdir /tmp
> java.library.path /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/server:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
> java.runtime.name Java(TM) SE Runtime Environment
> java.runtime.version 1.6.0_26-b03
> java.specification.name Java Platform API Specification
> java.specification.vendor Sun Microsystems Inc.
> java.specification.version 1.6
> java.vendor Sun Microsystems Inc.
> java.vendor.url http://java.sun.com/
> java.vendor.url.bug http://java.sun.com/cgi-bin/bugreport.cgi
> java.version 1.6.0_26
> java.vm.info mixed mode
> java.vm.name Java HotSpot(TM) 64-Bit Server VM
> java.vm.specification.name Java Virtual Machine Specification
> java.vm.specification.vendor Sun Microsystems Inc.
> java.vm.specification.version 1.0
> java.vm.vendor Sun Microsystems Inc.
> java.vm.version 20.1-b02
> javamelody.analytics-id UA-1335263-7
> javamelody.http-transform-pattern /\d+/|/site/.+|avadoc/.+|/ws/.+|obertura/.+|estReport/.+|iolations/file/.+|/user/.+|/static/\w+/
> javamelody.no-database true
> javamelody.storage-directory //var/lib/jenkins/monitoring
> javamelody.system-actions-enabled true
> jna.platform.library.path /usr/lib64:/lib64:/usr/lib:/lib
> line.separator
> os.arch amd64
> os.name Linux
> os.version 2.6.32-37-server
> path.separator :
> pid 21367
> sun.arch.data.model 64
> sun.boot.class.path /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/resources.jar:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/rt.jar:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/jsse.jar:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/jce.jar:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/charsets.jar:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/modules/jdk.boot.jar:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/classes
> sun.boot.library.path /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64
> sun.cpu.endian little
> sun.cpu.isalist
> sun.io.unicode.encoding UnicodeLittle
> sun.java.command /usr/share/jenkins/jenkins.war --webroot=/var/run/jenkins/war --httpPort=8081 --ajp13Port=-1
> sun.java.launcher SUN_STANDARD
> sun.jnu.encoding UTF-8
> sun.management.compiler HotSpot 64-Bit Tiered Compilers
> sun.os.patch.level unknown
> svnkit.http.methods Digest,Basic,NTLM,Negotiate
> svnkit.ssh2.persistent false
> user.country US
> user.dir /
> user.home /var/lib/jenkins
> user.language en
> user.name jenkins
> user.timezone Europe/Berlin
>            Reporter: ctrabold
>            Assignee: domi
>              Labels: plugin
>
> After upgrading Jenkins to Scriptler 2.0 on Jenkins 1.450 calling "cc.xml" throws an 500 error:
>   https://gist.github.com/1817603
> The error appears when calling the URL as an *anonymous user* having READ permissions on "Overall" and "Job".
> So I think it is somehow related with https://github.com/jenkinsci/scriptler-plugin/pull/2
> Downgrading to Scriptler 1.5 fixed the problem.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-12750) Scriptler 2.0 breaks cc.xml-View for Anonymous User having READ perm on "Overall" and "Job"

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

    [ https://issues.jenkins-ci.org/browse/JENKINS-12750?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=159361#comment-159361 ]

domi commented on JENKINS-12750:
--------------------------------

I'm glad it works, but I'm also confused - because I have no real explanation why this should change the behavior when accessing cc.xml
I'll keep this change in, but I definitely have to dig deeper into this...
               

> Scriptler 2.0 breaks cc.xml-View for Anonymous User having READ perm on "Overall" and "Job"
> -------------------------------------------------------------------------------------------
>
>                 Key: JENKINS-12750
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-12750
>             Project: Jenkins
>          Issue Type: Bug
>          Components: scriptler
>    Affects Versions: current
>         Environment: executable-war /usr/share/jenkins/jenkins.war
> file.encoding UTF-8
> file.encoding.pkg sun.io
> file.separator /
> hudson.diyChunking true
> java.awt.graphicsenv sun.awt.X11GraphicsEnvironment
> java.awt.headless true
> java.awt.printerjob sun.print.PSPrinterJob
> java.class.path /usr/share/jenkins/jenkins.war
> java.class.version 50.0
> java.endorsed.dirs /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/endorsed
> java.ext.dirs /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/ext:/usr/java/packages/lib/ext
> java.home /usr/lib/jvm/java-6-sun-1.6.0.26/jre
> java.io.tmpdir /tmp
> java.library.path /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/server:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
> java.runtime.name Java(TM) SE Runtime Environment
> java.runtime.version 1.6.0_26-b03
> java.specification.name Java Platform API Specification
> java.specification.vendor Sun Microsystems Inc.
> java.specification.version 1.6
> java.vendor Sun Microsystems Inc.
> java.vendor.url http://java.sun.com/
> java.vendor.url.bug http://java.sun.com/cgi-bin/bugreport.cgi
> java.version 1.6.0_26
> java.vm.info mixed mode
> java.vm.name Java HotSpot(TM) 64-Bit Server VM
> java.vm.specification.name Java Virtual Machine Specification
> java.vm.specification.vendor Sun Microsystems Inc.
> java.vm.specification.version 1.0
> java.vm.vendor Sun Microsystems Inc.
> java.vm.version 20.1-b02
> javamelody.analytics-id UA-1335263-7
> javamelody.http-transform-pattern /\d+/|/site/.+|avadoc/.+|/ws/.+|obertura/.+|estReport/.+|iolations/file/.+|/user/.+|/static/\w+/
> javamelody.no-database true
> javamelody.storage-directory //var/lib/jenkins/monitoring
> javamelody.system-actions-enabled true
> jna.platform.library.path /usr/lib64:/lib64:/usr/lib:/lib
> line.separator
> os.arch amd64
> os.name Linux
> os.version 2.6.32-37-server
> path.separator :
> pid 21367
> sun.arch.data.model 64
> sun.boot.class.path /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/resources.jar:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/rt.jar:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/jsse.jar:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/jce.jar:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/charsets.jar:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/modules/jdk.boot.jar:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/classes
> sun.boot.library.path /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64
> sun.cpu.endian little
> sun.cpu.isalist
> sun.io.unicode.encoding UnicodeLittle
> sun.java.command /usr/share/jenkins/jenkins.war --webroot=/var/run/jenkins/war --httpPort=8081 --ajp13Port=-1
> sun.java.launcher SUN_STANDARD
> sun.jnu.encoding UTF-8
> sun.management.compiler HotSpot 64-Bit Tiered Compilers
> sun.os.patch.level unknown
> svnkit.http.methods Digest,Basic,NTLM,Negotiate
> svnkit.ssh2.persistent false
> user.country US
> user.dir /
> user.home /var/lib/jenkins
> user.language en
> user.name jenkins
> user.timezone Europe/Berlin
>            Reporter: ctrabold
>            Assignee: domi
>              Labels: plugin
>
> After upgrading Jenkins to Scriptler 2.0 on Jenkins 1.450 calling "cc.xml" throws an 500 error:
>   https://gist.github.com/1817603
> The error appears when calling the URL as an *anonymous user* having READ permissions on "Overall" and "Job".
> So I think it is somehow related with https://github.com/jenkinsci/scriptler-plugin/pull/2
> Downgrading to Scriptler 1.5 fixed the problem.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-12750) Scriptler 2.0 breaks cc.xml-View for Anonymous User having READ perm on "Overall" and "Job"

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

     [ https://issues.jenkins-ci.org/browse/JENKINS-12750?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

domi resolved JENKINS-12750.
----------------------------

    Resolution: Fixed

fixed with 2.1
               

> Scriptler 2.0 breaks cc.xml-View for Anonymous User having READ perm on "Overall" and "Job"
> -------------------------------------------------------------------------------------------
>
>                 Key: JENKINS-12750
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-12750
>             Project: Jenkins
>          Issue Type: Bug
>          Components: scriptler
>    Affects Versions: current
>         Environment: executable-war /usr/share/jenkins/jenkins.war
> file.encoding UTF-8
> file.encoding.pkg sun.io
> file.separator /
> hudson.diyChunking true
> java.awt.graphicsenv sun.awt.X11GraphicsEnvironment
> java.awt.headless true
> java.awt.printerjob sun.print.PSPrinterJob
> java.class.path /usr/share/jenkins/jenkins.war
> java.class.version 50.0
> java.endorsed.dirs /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/endorsed
> java.ext.dirs /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/ext:/usr/java/packages/lib/ext
> java.home /usr/lib/jvm/java-6-sun-1.6.0.26/jre
> java.io.tmpdir /tmp
> java.library.path /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/server:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
> java.runtime.name Java(TM) SE Runtime Environment
> java.runtime.version 1.6.0_26-b03
> java.specification.name Java Platform API Specification
> java.specification.vendor Sun Microsystems Inc.
> java.specification.version 1.6
> java.vendor Sun Microsystems Inc.
> java.vendor.url http://java.sun.com/
> java.vendor.url.bug http://java.sun.com/cgi-bin/bugreport.cgi
> java.version 1.6.0_26
> java.vm.info mixed mode
> java.vm.name Java HotSpot(TM) 64-Bit Server VM
> java.vm.specification.name Java Virtual Machine Specification
> java.vm.specification.vendor Sun Microsystems Inc.
> java.vm.specification.version 1.0
> java.vm.vendor Sun Microsystems Inc.
> java.vm.version 20.1-b02
> javamelody.analytics-id UA-1335263-7
> javamelody.http-transform-pattern /\d+/|/site/.+|avadoc/.+|/ws/.+|obertura/.+|estReport/.+|iolations/file/.+|/user/.+|/static/\w+/
> javamelody.no-database true
> javamelody.storage-directory //var/lib/jenkins/monitoring
> javamelody.system-actions-enabled true
> jna.platform.library.path /usr/lib64:/lib64:/usr/lib:/lib
> line.separator
> os.arch amd64
> os.name Linux
> os.version 2.6.32-37-server
> path.separator :
> pid 21367
> sun.arch.data.model 64
> sun.boot.class.path /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/resources.jar:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/rt.jar:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/jsse.jar:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/jce.jar:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/charsets.jar:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/modules/jdk.boot.jar:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/classes
> sun.boot.library.path /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64
> sun.cpu.endian little
> sun.cpu.isalist
> sun.io.unicode.encoding UnicodeLittle
> sun.java.command /usr/share/jenkins/jenkins.war --webroot=/var/run/jenkins/war --httpPort=8081 --ajp13Port=-1
> sun.java.launcher SUN_STANDARD
> sun.jnu.encoding UTF-8
> sun.management.compiler HotSpot 64-Bit Tiered Compilers
> sun.os.patch.level unknown
> svnkit.http.methods Digest,Basic,NTLM,Negotiate
> svnkit.ssh2.persistent false
> user.country US
> user.dir /
> user.home /var/lib/jenkins
> user.language en
> user.name jenkins
> user.timezone Europe/Berlin
>            Reporter: ctrabold
>            Assignee: domi
>              Labels: plugin
>
> After upgrading Jenkins to Scriptler 2.0 on Jenkins 1.450 calling "cc.xml" throws an 500 error:
>   https://gist.github.com/1817603
> The error appears when calling the URL as an *anonymous user* having READ permissions on "Overall" and "Job".
> So I think it is somehow related with https://github.com/jenkinsci/scriptler-plugin/pull/2
> Downgrading to Scriptler 1.5 fixed the problem.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Loading...