Skip to content

Commit

Permalink
add Jenkinsfile.local
Browse files Browse the repository at this point in the history
  • Loading branch information
devopswise committed Jan 17, 2019
1 parent 36da3fe commit ebe76f6
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Jenkinsfile.local
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
pipeline {
agent { label 'jenkins-jnlp-slave-docker-cli' }

parameters { string(defaultValue: "master", description: 'What branch?', name: 'branchName')
string(defaultValue: "", description: 'Which server?', name: 'serverFqdn') }


stages {
stage('run cdt-installer'){
steps {
Expand All @@ -17,7 +22,8 @@ pipeline {
-e AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID} \
-e AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY} \
-e DO_NOT_PROVISION_EC2="true" \
-e SERVER_FQDN=${CDT_SERVER_FQDN} \
-e CDT_BRANCH=${params.branchName} \
-e SERVER_FQDN=${params.serverFqdn} \
-e KEY_PAIR=dwtools \
-e PEM_FILE=/opt/cdt/dwtools.pem \
-e DEBUG="-vv" \
Expand Down

0 comments on commit ebe76f6

Please sign in to comment.