aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources
AgeCommit message (Collapse)Author
2015-04-24Allow to select target publishing server - via Jenkins Credentials subsys.Paul Sokolovsky
To make this work, a new "Credential Domain" should be configured, with filter by adhoc "pubapi" URL schema. Within domain, using "Username with password" credential type. "Username" should be a publishing server though, and password - master publishing key. Additionally, for JJB usage, in "Advanced" section, a credential ID should be defined to have a form pubapi-<server_host>, e.g. pubapi-snapshots.linaro.org. Set PUBLISH_SERVER envvar based on publishing server selected by plugin. This value can be directly passed to --server param of linaro-cp tool, thus avoiding duplicating server name in 2 places, and confusion if they don't match. Also, other minor usability/diagnosing tweaks: - Log the fact that token was requested to build log. - If credential id for a job isn't set, use "pubapi-snapshots.linaro.org". (For compatibility with jobs configured for older plugin version.) Change-Id: I02d6a8fa48485c1f4ed2cb4e3b33d6c1170155ec
2014-10-21Rename parameter PUBLISH_KEY -> PUBLISH_TOKEN.Paul Sokolovsky
PUBLISH_KEY was already used by linaro-cp.py tool for publishing API v1. Change-Id: Ic69b31cd7bb00a0a8110052588e8f9ed0c0af39c
2014-10-14Make default token not-valid-before/after values configurable.Paul Sokolovsky
Well, so far we don't allow to configure these values per-job, so these defaults should account for all jobs. Change-Id: I942dddb4edf2e555bc103904ba196f9df755960c
2014-10-14Job-level help: mention name of environment var set (PUBLISH_KEY).Paul Sokolovsky
Change-Id: I11123bb6ed94bb913edafd4109d7254b5a777e85
2014-10-14Add global Jenkins config field for PubAPI URL.Paul Sokolovsky
Change-Id: Ia5755ba031d7acbbaba0c6ce5a9fe008a5ddb347
2014-09-11Plugin skeleton which implements basic build step and configuration.Paul Sokolovsky
What remains is actual requesting of one-time token. Change-Id: I30c765405f2e6d37cdfe28dccbf3db6a23d5f552