Test executing build script
This commit is contained in:
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@ -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?"
|
||||
}
|
||||
|
Reference in New Issue
Block a user