Michael Krotscheck 68610b1cf9 Staged upgrade for npm
The version of npm that ships with trusty is able to upgrade itself
to npm v2, but cannot upgrade to npm v3. Furthermore, performing
a staged upgrade picks up the default `profile` parameter from
npm, so that value has to be overridden globally in order to ensure
that /usr/bin is not polluted.

This patch adds the following:
- A staged upgrade step, triggered when the detected version of npm
  is "1", to upgrade to version 2.
- A new global npmrc configuration file, containing the profile setting.
- Renamed jenkins/global npmrc templates.

Values that made more sense to keep globally have been moved there.

Change-Id: Ia633ccabb49d74a10c904a6e8ba73945d77fb32d
2015-09-21 13:20:35 -07:00
..
2014-09-14 16:27:07 +00:00
2012-10-12 21:41:56 +00:00
2015-09-21 13:20:35 -07:00
2015-09-21 13:20:35 -07:00