artifactory-docker-examples icon indicating copy to clipboard operation
artifactory-docker-examples copied to clipboard

document docker example for installing/configuring plugins

Open jetersen opened this issue 6 years ago • 3 comments

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.

jetersen avatar Dec 12 '19 04:12 jetersen

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/
}

jetersen avatar Dec 12 '19 04:12 jetersen

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.

eldada avatar Dec 24 '19 15:12 eldada