[JIRA] (JENKINS-43075) Anchore plugin compatibility in context mode, report fails due to missing javascript and css

4 views
Skip to first unread message

swathi@anchore.com (JIRA)

unread,
Mar 23, 2017, 1:34:02 PM3/23/17
to jenkinsc...@googlegroups.com
Swathi Gangisetty updated an issue
 
Jenkins / Bug JENKINS-43075
Anchore plugin compatibility in context mode, report fails due to missing javascript and css
Change By: Swathi Gangisetty
Summary: Anchore plugin compatibility in context mode, report does not load fails due to missing javascript and css
Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)
Atlassian logo

swathi@anchore.com (JIRA)

unread,
Mar 23, 2017, 1:40:01 PM3/23/17
to jenkinsc...@googlegroups.com
Swathi Gangisetty commented on Bug JENKINS-43075
 
Re: Anchore plugin compatibility in context mode, report fails due to missing javascript and css

Plan for reproducing the issue - Use Apache as a reverse proxy for Jenkins and configure the context path using the instructions on https://wiki.jenkins-ci.org/display/JENKINS/Running+Jenkins+behind+Apache. Yet to figure out how to do it if Jenkins master is running in a container. 

 

swathi@anchore.com (JIRA)

unread,
Mar 23, 2017, 1:51:02 PM3/23/17
to jenkinsc...@googlegroups.com

Plugin (index.jelly) references to static files (javascript and css) are relative, changing them to absolute paths by prefixing them with resURL is a recommended practice - https://wiki.jenkins-ci.org/display/JENKINS/Basic+guide+to+Jelly+usage+in+Jenkins. The following commit may address this issue if it was caused by a failure to resolve paths. 

https://github.com/jenkinsci/anchore-container-scanner-plugin/commit/e365fe3772e47f4cdc624b63a2d5a2ad138d5fdb

commit e365fe3772e47f4cdc624b63a2d5a2ad138d5fdb
Author: Swathi Gangisetty <swa...@anchore.com>
Date:   Wed Mar 22 13:32:33 2017 -0700

    Create absolute paths to static resources (css, js, images) using resURL prefix

    Signed-off-by: Swathi Gangisetty <swa...@anchore.com>

swathi@anchore.com (JIRA)

unread,
Mar 23, 2017, 1:52:02 PM3/23/17
to jenkinsc...@googlegroups.com
Swathi Gangisetty edited a comment on Bug JENKINS-43075
Plugin (index.jelly) references to static files (javascript and css) are relative, changing them to absolute paths by prefixing them with {{resURL}} is a recommended practice - [https://wiki.jenkins-ci.org/display/JENKINS/Basic+guide+to+Jelly+usage+in+Jenkins.] The following commit may address this issue if it was caused by a failure to resolve paths.   Need to confirm

[https://github.com/jenkinsci/anchore-container-scanner-plugin/commit/e365fe3772e47f4cdc624b63a2d5a2ad138d5fdb]

{noformat}

commit e365fe3772e47f4cdc624b63a2d5a2ad138d5fdb
Author: Swathi Gangisetty <swa...@anchore.com>
Date:   Wed Mar 22 13:32:33 2017 -0700

    Create absolute paths to static resources (css, js, images) using resURL prefix

    Signed-off-by: Swathi Gangisetty <swa...@anchore.com>
{noformat}

swathi@anchore.com (JIRA)

unread,
Sep 13, 2019, 1:50:01 PM9/13/19
to jenkinsc...@googlegroups.com

Closing the ticket as the issue cannot be reproduced after the above commit

This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

swathi@anchore.com (JIRA)

unread,
Sep 13, 2019, 1:51:02 PM9/13/19
to jenkinsc...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages