diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..6a4f67a --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "ansible.python.interpreterPath": "/opt/homebrew/bin/python3" +} \ No newline at end of file diff --git a/Jenkinsfile b/Jenkinsfile index 7c7a857..998d4fc 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -28,7 +28,7 @@ pipeline { } post { always { - sh 'docker logout' + sh 'docker logout-logouttttt' } } } diff --git a/nodeapp/index.js b/nodeapp/index.js index 8b51bcb..3fad6d5 100644 --- a/nodeapp/index.js +++ b/nodeapp/index.js @@ -2,14 +2,14 @@ var express = require('express'); var app = express(); app.get('/', function (req, res) { - res.send('{ "response": "Hello, Welcome to Valaxy" }'); + res.send('{ "response": "Hello, Welcome to Vdfsdfsdfsdfalaxy" }'); }); app.get('/will', function (req, res) { - res.send('{ "response": "Hello World" }'); + res.send('{ "response": "Hello Wofdsfsdfsdfrld" }'); }); app.get('/ready', function (req, res) { - res.send('{ "response": " Great!, It works!" }'); + res.send('{ "response": " Great!, It wodfsdfsdfsdrks!" }'); }); app.listen(process.env.PORT || 3000); module.exports = app; diff --git a/nodeapp/test/test.js b/nodeapp/test/test.js index 2794ef1..2ab93b7 100644 --- a/nodeapp/test/test.js +++ b/nodeapp/test/test.js @@ -2,6 +2,6 @@ var request = require('supertest'); var app = require('../index.js'); describe('GET /will', function() { it('respond with hello world', function(done) { - request(app).get('/will').expect('{ "response": "Hello World" }', done); + request(app).get('/will').expect('{ "response": "Hello Wklfjdlfjsdlfjlorld" }', done); }); }); \ No newline at end of file