|
@@ -13,7 +13,6 @@ pipeline {
|
|
|
sh 'go build main.go webPage.go'
|
|
|
}
|
|
|
}
|
|
|
- }
|
|
|
stage("deploy docker") {
|
|
|
steps{
|
|
|
sh 'docker stop schedule'
|
|
@@ -22,6 +21,7 @@ pipeline {
|
|
|
sh 'docker run --name schedule -p 8888:8888'
|
|
|
}
|
|
|
}
|
|
|
+ }
|
|
|
post {
|
|
|
success {
|
|
|
echo 'I succeeeded!'
|
|
@@ -38,5 +38,6 @@ pipeline {
|
|
|
changed {
|
|
|
echo 'things were different before...'
|
|
|
}
|
|
|
- }
|
|
|
+ }
|
|
|
+
|
|
|
}
|