disabled force-checkOnly option since [email protected]
extended deploy:ant-salesforce
Usually use empty DE edition to target for deploy.
Then you get test/coverage result.
I think to using together Jenkins.
$ sbt assembly
$ sbt eclipse
- deployForCI
- sfc.testResultFile (default:target/sforceci/test-result.xml)
- sfc.coverageResultFile (default:target/sforceci/coverage.xml)
- sfc.coverageReportClassNameFilter (coverage.xml className filter regex. default:".*")
- sfc.sobjectPlural (true:add pluralLabel, false:nothing to do, default=false)
- sfc.noErrorOnTestFail (control raise testFail error of ant-task, true: not-raised error on fail, false: raised error on fail. default=false)
- sfc.noErrorOnCoveargeWarning (control raise coverageWarning at 75% sfdc on ant-task, true: not-raised error on fail, false: raised error on fail. default=false)
$ ant -lib target/scala-2.11 -f ForceComSample/build.xml deployForCI
Copyright 2012-2016 hiradimir
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.