Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 432 Bytes

zuo-jenkins-+-docker.md

File metadata and controls

19 lines (14 loc) · 432 Bytes

實作:Jenkins + Docker

Node.js 撰寫的 main.js

// load the http module
var http = require('http');

// configure our HTTP server
var server = http.createServer(function (request, response) {
  response.writeHead(200, {"Content-Type": "text/plain"});
  response.end("Hello getintodevops.com\n");
});

// listen on localhost:8000
server.listen(8000);
console.log("Server listening at http://127.0.0.1:8000/");