mirror of
https://gitee.com/kennylee/docker.git
synced 2024-12-01 19:38:30 +08:00
修改ci-webhook的镜像
This commit is contained in:
parent
3660ee95b2
commit
add787e66a
@ -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 + '/');
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user