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

Icon not shown on certain browsers

XMLWordPrintable

      I have added a custon build status icon on a confluence page via markdown and added icons in the description of an Jira issue. 

      For the Jira issue:

      def buildSubject = "version: " + params['versionsnumber:'] + " vom " + tools.getCurrentDateStr(DateFormat: 'dd.MM.yyyy HH:mm');
      def buildBadge = addEmbeddableBadgeConfiguration(id: "build", subject: buildSubject);
      
      ...
      
      addDesc = [!' + JENKINS_URL + 'buildStatus/icon?job=' + JOB_NAME.replace(" ""+") + '&build=' + BUILD_NUMBER + '&config=build!|' +                                
                    JENKINS_URL + 'blue/organizations/jenkins/' + JOB_NAME.replace(" ""%20") + '/detail/' + JOB_NAME.replace(" ""%20") + '/' + BUILD_NUMBER + '/pipeline]'
      
      editIssue = [fields: [
        description:addDesc ]
      ]
      
      jiraEditIssue idOrKey: existingIssue.key.get(0).toString(), issue: editIssue
      

      Now for the odd stuff. Add icons are shown when browsing with firefox, but not with any other.

      Permissions are set for annonymous.

      Images from other servers are shown but non from this jenkins server. I also tried other images.

       

       

            Unassigned Unassigned
            martensd David
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: