|
@@ -18,13 +18,13 @@ pipeline {
|
|
stages {
|
|
stages {
|
|
stage("build project") {
|
|
stage("build project") {
|
|
steps {
|
|
steps {
|
|
- sh 'go build main.go webPage.go'
|
|
|
|
|
|
+ //sh 'go build main.go webPage.go'
|
|
}
|
|
}
|
|
}
|
|
}
|
|
stage("deploy docker") {
|
|
stage("deploy docker") {
|
|
steps{
|
|
steps{
|
|
- sh 'docker-compose stop schedule'
|
|
|
|
- sh 'docker-compose up --build -d'
|
|
|
|
|
|
+ //sh 'docker-compose stop schedule'
|
|
|
|
+ //sh 'docker-compose up --build -d'
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|