artifactory-docker-examples
artifactory-docker-examples copied to clipboard
document docker example for installing/configuring plugins
Currently trying to configure buildSync.json and I have no idea what is the proper way of configuring the preinstalled buildSync plugin.
at the moment I am getting replication errors for artifactory-build-info and I would like to configure it properly.
reading the contents on the entrypoint-artifactory.sh reveals the secret but still not very clear.
addPlugins () {
logger "Adding plugins if exist"
cp -fv /tmp/plugins/* ${ARTIFACTORY_HOME}/etc/plugins/
}
Yes. The secret is preparing your plugins on the host and mounting them to /tmp/plugins/ in the Artifactory container. The plugins are copied to their final destination in the entrypoint script.
Indeed - this is not documented well here.