You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be great if we could retrieve the deploy result json object in the pipe when deployment is done.
I think it has more sense than the zip file (pretty useless to me).
In attachment what I did to return the res instead of the file gulp-jsforce-deploy.js.txt
.
Not sure it is the best way with gulp.
Any idea ?
The text was updated successfully, but these errors were encountered:
You can use it in gulpfile this way: gulp.task('deploy', cb => { return gulp.src('./src/**') .pipe(zip('pkg.zip')) .pipe(forceDeploy(options)) .pipe(rename(DEPLOY_RESULT_FILE)) .pipe(gulp.dest('.')); });
It would be great if we could retrieve the deploy result json object in the pipe when deployment is done.
[...]
Not sure it is the best way with gulp.
Any idea ?
@scolladon I've made a PR #11 that closely implements something like your suggestion, but I also added some additional functionality to more fully replace the Ant Migration Tool, and then to use that output in test pipelines. I've also published my PR under our org @nhs-llc/gulp-jsforce-deploy and made the deploy result reporter available at jsforce-deploy-reporter. I know it's been a few years since your comment and PR were submitted, but if you're still using this gulp plugin, let me know what you think of the changes.
It would be great if we could retrieve the deploy result json object in the pipe when deployment is done.
I think it has more sense than the zip file (pretty useless to me).
In attachment what I did to return the res instead of the file
gulp-jsforce-deploy.js.txt
.
Not sure it is the best way with gulp.
Any idea ?
The text was updated successfully, but these errors were encountered: