修改ci-webhook的镜像

This commit is contained in:
KennyLee 2017-04-20 19:01:58 +08:00
parent 3660ee95b2
commit add787e66a
2 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,7 @@ var http = require("http"),
const PORT = 7788, projectName = 'gkxt';
const repo = {
url: 'http://sys:11111111@192.168.3.231:10080/zgbj/gkxt.git', // git repository
branch: 'master',
branch: 'feature_testci',
localPath: '/tmp/',
buildCommand: './gradlew clean dist -x test',
distPath: '/root/tomcat/webapps/'
@ -43,4 +43,4 @@ http.createServer(function (request, response) {
}).listen(PORT);
// Console will print the message
console.log('Server running at http://127.0.0.1:' + PORT + '/');
console.log('Server running at http://127.0.0.1:' + PORT + '/');

View File

@ -14,7 +14,7 @@ stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
[program:sshd]
command=/usr/bin/pm2 start /root/ci-webhook/server.js
command=/usr/bin/node /root/ci-webhook/server.js
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0