Test executing build script

This commit is contained in:
2021-02-04 10:46:42 +08:00
parent d7a6cec0f1
commit 53dbe0b525

6
Jenkinsfile vendored
View File

@ -3,13 +3,17 @@ pipeline {
stages {
stage('build') {
steps {
sh "cd scripts ; bash -x ./build-website.sh"
sh 'echo "building"'
sh "cd scripts ; bash -x ./build-website.sh"
sh "apt install -y curl"
sh "service httpd status"
sh "service httpd start"
}
}
stage('test') {
steps {
sh 'echo "hello world"'
sh 'curl http://127.0.0.1:80'
sh 'echo "testing"'
input "Testing complete. Proceed to deployment?"
}