Skip to content

Commit

Permalink
Use sdk-agent to build JS file and deploy in Jenkins virtual env
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Ferreira committed Jan 3, 2018
1 parent d9ac82e commit e894f82
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
8 changes: 2 additions & 6 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ pipeline {
}

agent {
label 'base-agent'
label 'sdk-agent'
}

stages{
Expand All @@ -32,6 +32,7 @@ pipeline {
}
steps {
sh 'ssh-keyscan prov-04.adm.dc3.dailymotion.com >> ~/.ssh/known_hosts'
sh 'make'
sh 'make deploy-prod'
}

Expand All @@ -53,10 +54,5 @@ pipeline {
}
}

post {
failure {
slackSend "${serviceName}: Error on *${env.JOB_NAME}* for branch *${env.BRANCH_NAME}* (${env.BUILD_ID})"
}
}
}

1 change: 0 additions & 1 deletion fabfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
from fabric.operations import require
from fabric.utils import puts
from time import time
from dateutil.tz import tzlocal

env.use_ssh_config = False
env.conf = {
Expand Down

0 comments on commit e894f82

Please sign in to comment.