Skip to content

Commit

Permalink
Use Jenkinsfile for build
Browse files Browse the repository at this point in the history
  • Loading branch information
sgtcoolguy committed Feb 22, 2017
1 parent b7d9a24 commit 20a9add
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#!groovy
@Library('pipeline-library') _

timestamps {
node('git && (osx || linux)') {
stage('Checkout') {
checkout scm
}

stage('Configuration') {
sh "echo \"module.exports = { logLevel: 'error', connectors: { 'appc.salesforce.1': { connector: 'appc.salesforce', requireSessionLogin: false, url: 'https://test.salesforce.com/', username: '[email protected]', password: 'mmpResearch4', token: '4qEFyGMb5r0VYZPZBj99Rjukv', schemaRefresh: 3.6e+6 * 24, /* one day*/ modelAutogen: true, generateModelsFromSchema: true, generateModels: ['Account', 'Contract', 'FieldDefinition'] }, 'appc.salesforce.2': { connector: 'appc.salesforce', requireSessionLogin: false, url: 'https://test.salesforce.com/', username: '[email protected]', password: 'mmpResearch4', token: '4qEFyGMb5r0VYZPZBj99Rjukv', schemaRefresh: 3.6e+6 * 24, /* one day*/ modelAutogen: true, generateModelsFromSchema: true, generateModels: ['Account', 'Contract'] }} };\" > conf/local.js"
}

buildConnector {
// don't override anything yet
}
}
}

0 comments on commit 20a9add

Please sign in to comment.