getting-started-app/Jenkinsfile

36 lines
576 B
Plaintext
Raw Normal View History

2024-12-10 13:18:17 -05:00
pipeline {
agent any
stages {
stage('Build') {
steps {
script {
echo "Building"
2024-12-10 13:20:11 -05:00
bat "docker build -t ex9:latest ."
2024-12-10 13:18:17 -05:00
}
}
}
stage('runnig') {
steps {
script {
echo "runnig"
2024-12-10 13:27:14 -05:00
bat "docker run -dp 3000:3000 ex9"
2024-12-10 13:18:17 -05:00
}
}
}
stage('test') {
steps {
script {
echo "testing"
}
}
}
stage('deploying') {
steps {
script {
echo "deploying"
}
}
}
}
}