Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File doesn't exist during push #10

Closed
Olgagr opened this issue Mar 26, 2016 · 1 comment
Closed

File doesn't exist during push #10

Olgagr opened this issue Mar 26, 2016 · 1 comment
Labels

Comments

@Olgagr
Copy link

Olgagr commented Mar 26, 2016

I have a problem with nuget.push on Jenkins. I get an error:

c:\jenkins\workspace\my_project\node_modules\gulp-nuget\lib\push.js:22
            if(err) throw new gutil.PluginError('gulp-nuget', err);
                          ^
Error: Command failed: File does not exist (c:\jenkins\workspace\my_project\stage\project.3.5.1.32.nupkg).


    at ChildProcess.exithandler (child_process.js:647:15)
    at ChildProcess.EventEmitter.emit (events.js:98:17)
    at maybeClose (child_process.js:753:16)
    at Process.ChildProcess._handle.onexit (child_process.js:820:5)

I've checked current location before running nuget.push:

> pwd
/c/jenkins/workspace/my_project

I've checked the content of the c:\jenkins\workspace\my_project\stage directory:

> ls stage/
app.bundle.js
app.bundle.js.map
index.html
project.3.5.1.32.nupkg
vendor.bundle.js
vendor.bundle.js.map
web.config

It seems like the file is there, but nuget.push doesn't see it. What else can cause that ? For example nupkg can be invalid and the error is misleading ?

@Olgagr Olgagr changed the title File doesn't now exists during push File doesn't exists during push Mar 26, 2016
@Olgagr Olgagr changed the title File doesn't exists during push File doesn't exist during push Mar 26, 2016
@mckn
Copy link
Owner

mckn commented Apr 13, 2016

Hello, thanks for reporting this. I will see if I can reproduce this issue in any way. But in any way I will try to improve the error messages reported back to the user.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants