Re: npm credentials on jenkins

2014-12-04 Thread Steven Gill
I have created an issue for this. Need to figure this out so cordova can start publishing nightlies for testing purposes. https://issues.apache.org/jira/browse/INFRA-8785 On Wed, Nov 26, 2014 at 4:41 PM, Steven Gill wrote: > Okay. Thanks for the info! Let me know if I can help in any way. Should

Re: npm credentials on jenkins

2014-12-04 Thread Andrew Bayer
So I'm not familiar with npm publishing - in the Maven land, the creds for publishing are stored in ~/.m2/settings.xml, and our build slave puppet/ansible stuff populates that. If there's something similar for npm, and we can get an ASF "build user" account to publish with, we can add that for npm

Re: npm credentials on jenkins

2014-11-26 Thread Steven Gill
Okay. Thanks for the info! Let me know if I can help in any way. Should I create an issue for getting role accounts to work with npm? I will also continue investigating if I can figure out a different solution to publish to npm via jenkins. On Wed, Nov 26, 2014 at 11:29 AM, David Nalley wrote:

Re: npm credentials on jenkins

2014-11-26 Thread David Nalley
On Wed, Nov 26, 2014 at 2:04 PM, Steven Gill wrote: > Thanks for responding David! > > Just to clarify, we don't consider nightlys releases. They are just > snapshots and are published under the nightly tag to npm. You need to be > explicit if you want to download it. It is only meant for testing.

Re: npm credentials on jenkins

2014-11-26 Thread Steven Gill
Thanks for responding David! Just to clarify, we don't consider nightlys releases. They are just snapshots and are published under the nightly tag to npm. You need to be explicit if you want to download it. It is only meant for testing. `npm install cordova@nightly`. I have set the build to run o

Re: npm credentials on jenkins

2014-11-26 Thread Roman Shaposhnik
On Wed, Nov 26, 2014 at 2:31 AM, David Nalley wrote: > And FTR, I don't think we would ever allow an automated system to > commit back to a project's source code tree without input from a > committer. Not even to designated branches? Thanks, Roman.

Re: npm credentials on jenkins

2014-11-26 Thread David Nalley
On Tue, Nov 25, 2014 at 4:48 PM, Steven Gill wrote: > Hey Everyone, > > So I need to add credentials to my workspace for uploading a nightly build > to npm for cordova. > > The command I need to run is `npm login` or `npm addUser`. It would prompt > me to add my username, password and email. I thi

npm credentials on jenkins

2014-11-25 Thread Steven Gill
Hey Everyone, So I need to add credentials to my workspace for uploading a nightly build to npm for cordova. The command I need to run is `npm login` or `npm addUser`. It would prompt me to add my username, password and email. I think I only need to do this once and it would be saved in my worksp