
Bài này để mình lưu trữ nếu có use case thích hợp mình sẽ viết
pipeline{
agent{
docker{
image: "docker.nimtechnology.com/dockerhub/ubuntu:latest"
}
}
options {
newContainerPerStages()
}
stages{
stage("Build"){
steps{
sh "cat /etc/lsb-release"
}
}
stage("Deploy"){
steps{
sh "cat /etc/lsb-release"
}
}
}
}