...
For a full description of how the JFrog Artifactory plugin integrates with WhiteSourceMend, see https://whitesource.atlassian.net/wiki/pages/resumedraft.action?draftId=34046111.
...
README.md
- describing the plugin usagewhitesourceMend-artifactory-plugin.groovy
whitesourceMend-artifactory-plugin.properties
whitesourceMend-artifactory-plugin-VERSION.jar
The plugin should be installed as before, with the following changes:
Replace the
whitesourceMend-artifactory-plugin.groovy
and thewhitesourceMend-artifactory-plugin.properties
files.Remove the 4 jar files from the previous plugin in the
plugins/lib
directory, and place the newwhitesourceMend-artifactory-plugin-VERSION.jar
file in theplugins/lib
directory.
...
In order to remove files from this location, please add “force.delete
“ to the file name. For example:
whitesourceMend-artifactory-plugin.groovy.force.delete
wss-agent-report-<version>.jar.force.delete
...
userKey:
This property was optional in the previous plugin version, but is now mandatory. It should contain a valid WhiteSource Mend user key.
triggerBeforeRemoteDownload:
This is a boolean property (true/false). It can be set in addition to thetriggerBeforeDownload
property. These two properties refer to thebeforeRemoteDownload
andbeforeDownload
hooks, as can be seen in the following docs: https://www.jfrog.com/confluence/display/JFROG/User+Plugins#UserPlugins-Download
...
In earlier plugin versions, in order to configure the interval at which the Artifactory repositories were scanned, the following string needed to be modified in the whitesourceMend-artifactory-plugin.groovy
file:
Code Block |
---|
updateRepoWithWhiteSourceupdateRepoWithMend(cron: "0 28 13 * * ?") { ... } |
From version 21.12.1, the whitesourceMend-artifactory-plugin.groovy
file looks like this:
...
To configure a schedule for scanning the Artifactory repositories:
Open the
whitesourceMend-artifactory-plugin.groovy
file in a txt editor.Modify the
def scanRepositoriesCron = "0 0 0 * * ?"
string.