Skip to content
Open
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
36 changes: 36 additions & 0 deletions webapp/Aha app
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
pipeline {
agent any

stages {
stage('Checkout') {
steps {
git url: 'https://github.com/your-repo/aha-login.git'
}
}

stage('Build Docker Image') {
steps {
script {
dockerImage = docker.build("aha-login-page")
}
}
}

stage('Run Container') {
steps {
script {
dockerImage.run("-d -p 8080:80")
}
}
}
}

post {
success {
echo 'Login page deployed successfully!'
}
failure {
echo 'Deployment failed.'
}
}
}