lipase/Jenkinsfile

51 lines
1.7 KiB
Plaintext
Raw Normal View History

pipeline {
agent {label 'msspec_agent_amd64'}
stages {
stage('Initial setup...') {
steps {
echo 'Initial setup...'
2019-03-07 11:33:59 +01:00
// echo 'Create or update the virtual Python environment'
// sh '/bin/bash ./src/CI/CI.bash -i ci_venv'
}
}
stage('Building the package...') {
steps {
2019-03-07 11:43:41 +01:00
sh '/bin/bash -c make'
2019-03-07 11:33:59 +01:00
// sh '/bin/bash ./src/CI/CI.bash -p ci_venv'
}
}
stage('Testing the package...') {
steps {
sh './hello'
2019-03-07 11:33:59 +01:00
// sh 'cp ~/.bashrc ~/.bashrc.bak'
// sh './install_resources/packages/$(cat VERSION).setup --accept -- -y'
// sh '$HOME/.local/bin/msspec -f $HOME/.local/share/$(cat VERSION)'
// sh '$HOME/.local/bin/msspec -t'
// sh 'yes 1|$HOME/.local/bin/msspec -u'
// sh 'mv ~/.bashrc.bak ~/.bashrc'
}
}
stage('Building HTML documentation...') {
steps {
echo 'Building HTML documentation...'
2019-03-07 11:33:59 +01:00
// sh '/bin/bash ./src/CI/CI.bash -d ci_venv'
}
}
stage('Releasing package...') {
steps {
echo 'Releasing package...'
2019-03-07 11:33:59 +01:00
// sh 'rm -rf $HOME/www/*'
// sh 'cp -a ./src/doc/build/html/* $HOME/www/'
}
}
stage('Cleaning up...') {
steps {
echo 'Cleaning artifacts...'
2019-03-07 11:43:41 +01:00
sh '/bin/bash -c "make clean"'
2019-03-07 11:33:59 +01:00
// sh 'rm -rf ./install_resources'
// sh 'cd ./src/doc && make clean'
}
}
}
}