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
8 changes: 4 additions & 4 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ pipeline {

environment{
registryCredential = 'ecr:eu-west-2:jenkins-awscred'
appRegistry = "175223620529.dkr.ecr.eu-west-2.amazonaws.com/capstoneproject"
appRegistry = "175223620529.dkr.ecr.eu-west-2.amazonaws.com/capstoneproject-test"
capstoneRegistry = "https://175223620529.dkr.ecr.eu-west-2.amazonaws.com"
cluster = "CapstoneProject"
service = "capstoneproject-prod"
service = "capstoneproject-test"
}

stages {
Expand All @@ -27,7 +27,7 @@ pipeline {
stage('Test Website') {
steps {
// Run tests on the website
sh 'echo "Running tests on the capstone website"'
sh 'echo "Running tests on the capstone website."'
}
}

Expand All @@ -44,7 +44,7 @@ pipeline {

stage('Deploy to ecs'){
when {
branch "master"
branch "test"
}
steps{
withAWS(credentials: 'jenkins-awscred', region: 'eu-west-2'){
Expand Down
6 changes: 3 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<title> Project </title>
</head>
<body style = "background-image:url('images/github3.jpg'); background-size: 100%">
<h2 ALIGN=CENTER>Welcome to Naga-Peter Project!</h2>
<h2 ALIGN=CENTER>Welcome to Naga-Peter Project!!!!!!!!!!!!!!!!!!!</h2>
<style>
.hello{
font-size: 253%;
Expand All @@ -29,6 +29,6 @@ <h2 ALIGN=CENTER>Welcome to Naga-Peter Project!</h2>
}
</style>
<body >
<h2 ALIGN=CENTER class="hello bounce">Hello world!</h2>
<h2 ALIGN=CENTER class="hello bounce">ITC!</h2>
</body>
</html>
</html>