在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):jsforce/gulp-jsforce-deploy开源软件地址(OpenSource Url):https://github.com/jsforce/gulp-jsforce-deploy开源编程语言(OpenSource Language):JavaScript 100.0%开源软件介绍(OpenSource Introduction):gulp-jsforce-deployA gulp plugin for deploying Salesforce package, using JSforce's Metadata API feature. As it is implemented purely in Node.js, you do not have to setup Force.com Migration Tool (Ant, Java) anymore. Setup
ExampleProject Directory
gulpfile.jsvar gulp = require('gulp');
var zip = require('gulp-zip');
var forceDeploy = require('gulp-jsforce-deploy');
gulp.task('deploy', function() {
gulp.src('./pkg/**', { base: "." })
.pipe(zip('pkg.zip'))
.pipe(forceDeploy({
username: process.env.SF_USERNAME,
password: process.env.SF_PASSWORD
//, loginUrl: 'https://test.salesforce.com'
//, pollTimeout: 120*1000
//, pollInterval: 10*1000
//, version: '33.0'
}));
}); Deploy
or if you have
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论