getting-started-app/Jenkinsfile

36 lines
576 B
Plaintext
Raw Normal View History

2024-12-10 23:48:17 +05:30
pipeline {
agent any
stages {
stage('Build') {
steps {
script {
echo "Building"
2024-12-10 23:50:11 +05:30
bat "docker build -t ex9:latest ."
2024-12-10 23:48:17 +05:30
}
}
}
stage('runnig') {
steps {
script {
echo "runnig"
2024-12-10 23:57:14 +05:30
bat "docker run -dp 3000:3000 ex9"
2024-12-10 23:48:17 +05:30
}
}
}
stage('test') {
steps {
script {
echo "testing"
}
}
}
stage('deploying') {
steps {
script {
echo "deploying"
}
}
}
}
}