Artifactory plugin for ThoughtWorks Go
This project is not being maintained anymore
- Uploads artifact(s) to Artifactory with build properties (includes verifying checksum against that generated by Artifactory)
- Uploads build details
The plugin requires these environment variables to be set for the Go task
- ARTIFACTORY_URL
- ARTIFACTORY_USER
- ARTIFACTORY_PASSWORD
Download the plugin jar and copy to the plugins/external directory on the Go server and restart. Refer to "Installing a plugin" section of Go Documentation for details.
The log file (plugin-com.tw.go.plugins.go-artifactory-plugin.log
) is created on Go agent (e.g. on Linux, inside /var/lib/go-agent
).
You can get better log messages by setting plugin log level in Go Agent startup configuration e.g.
export GO_AGENT_SYSTEM_PROPERTIES=" -Dplugin.com.tw.go.plugins.go-artifactory-plugin.log.level=DEBUG "
The plugin internally uses Apache HttpClient to talk to Artifactory REST API. If you want to see HTTP messages on the wire,
you can enable logging for HttpClient e.g. by setting this in Go Agent start up config: export GO_AGENT_SYSTEM_PROPERTIES=" -Dplugin.com.tw.go.plugins.go-artifactory-plugin.log.level=DEBUG -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog -Dorg.apache.commons.logging.simplelog.showdatetime=true -Dorg.apache.commons.logging.simplelog.log.org.apache.http=DEBUG -Dorg.apache.commons.logging.simplelog.log.org.apache.http.wire=ERROR
- Raise bugs
- Suggest features
- Fork, collaborate
Go Artifactory Plugin is distributed under the terms of Apache Software License v2.0: http://www.apache.org/licenses/LICENSE-2.0.html