Method 1

XRAY: Unable to save Xray settings

AuthorFullName__c
Shweta Badiger
articleNumber
000006065
ft:sourceType
Salesforce
FirstPublishedDate
2024-04-01T08:33:03Z
lastModifiedDate
2024-08-12
VersionNumber
11
1. We can enable this configuration from the Artifactory config descriptor. Navigate to
Administration > Artifactory > Advanced > Config Descriptor and find the </addon> add the
below block to enable Xray configuration.
<xrayConfig>
        <enabled>true</enabled>
        <baseUrl>http://localhost:8046/xray/</baseUrl>
        <user></user>
        <password></password>
        <artifactoryId>default</artifactoryId>
        <xrayId></xrayId>
        <allowDownloadsXrayUnavailable>true</allowDownloadsXrayUnavailable>
        <allowBlockedArtifactsDownload>false</allowBlockedArtifactsDownload>
        <blockUnscannedTimeoutSeconds>60</blockUnscannedTimeoutSeconds>
    </xrayConfig>

User-added image

2. Save the above configuration.
3. Restart Artifactory (for high availability setup a rolling restart is required).
4. Try saving the Xray settings again, we should be able to enable Xray now.