Skip to content

Commit

Permalink
Merge pull request #15 from subutai-io/dev
Browse files Browse the repository at this point in the history
Dev to master
  • Loading branch information
etursunbaev authored Jan 30, 2019
2 parents 3b28883 + 89308c6 commit 874f364
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,8 @@ def notifyBuild(String buildStatus = 'STARTED', String details = '') {
colorCode = '#FF0000'
summary = "${subject} (${env.BUILD_URL})${details}"
}
// Get token
def slackToken = getSlackToken('sysnet')
// Send notifications
slackSend (color: colorCode, message: summary, teamDomain: 'optdyn', token: "${slackToken}")
def mattermost_rest = "https://mm.optdyn.com/hooks/k1ujhg8xwigupxjzqbwzpgdp3h"
mattermostSend(color: colorCode, icon: "https://jenkins.io/images/logos/jenkins/jenkins.png", message: summary, channel: "#sysnet-bots", endpoint: "${mattermost_rest}" )
}

// get slack token from global jenkins credentials store
Expand Down
2 changes: 1 addition & 1 deletion debian/tree/nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ http {
listen 443 ssl default_server;
ssl_certificate /etc/ssl/certs/ssl-cert-snakeoil.pem;
ssl_certificate_key /etc/ssl/private/ssl-cert-snakeoil.key;
return 404; # or whatever
return 444; # or whatever
}

server {
Expand Down

0 comments on commit 874f364

Please sign in to comment.