Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"ansible.python.interpreterPath": "/opt/homebrew/bin/python3"
}
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ pipeline {
}
post {
always {
sh 'docker logout'
sh 'docker logout-logouttttt'
}
}
}
Expand Down
6 changes: 3 additions & 3 deletions nodeapp/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 " }');
});
app.listen(process.env.PORT || 3000);
module.exports = app;
2 changes: 1 addition & 1 deletion nodeapp/test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 world" }', done);
});
});