Skip to content

Commit

Permalink
ci: update jenkinsfile
Browse files Browse the repository at this point in the history
  • Loading branch information
mickaelchanrion committed Oct 1, 2019
1 parent 8466f5f commit 34307be
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions Jenkinsfile
Expand Up @@ -76,9 +76,6 @@ pipeline {
script {
dir("frontend") {
echo("Deploying to $DEPLOY_APP")
sh "pwd"
sh "ls -alh"
sh "cat .clever.json"
sh "clever deploy -a $DEPLOY_APP -f"
echo("Project available on $DEPLOY_APP")
}
Expand All @@ -91,7 +88,9 @@ pipeline {
always {
echo 'Run regardless of the completion status of the Pipeline run.'
script {
slackNotify(currentBuild.result)
if (isProduction() || isStaging()) {
slackNotify(currentBuild.result)
}
}
}
changed {
Expand Down
2 changes: 1 addition & 1 deletion frontend/README.md
Expand Up @@ -35,4 +35,4 @@ When you run `npm run build` we use the [mini-css-extract-plugin](https://github
npm run start
```

It will start an http-server instance.
It will start an http-server instance.

0 comments on commit 34307be

Please sign in to comment.