diff --git a/Jenkinsfile b/Jenkinsfile index 2c91dc2..4443c5f 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,42 +1,24 @@ pipeline { agent {label 'msspec_agent_amd64'} stages { - stage('Initial setup....') { + stage('Building the code...') { steps { - echo 'Create or update the virtual Python environment' - } - } - - stage('Build the code and generate tests results...') { - steps { - echo 'Build the code and generate tests results' - } - } - stage('Create a setup file...') { - steps { - echo 'Create a setup file...' - } - } - stage('Test installation...') { - steps { - echo 'Test installation...' + sh 'make devel PYTHON=python3' } } stage('Building HTML documentation...') { steps { - echo 'Building HTML documentation...' + sh '/bin/bash -c "source _venv/bin/activate && pip install sphinx lxml"' + sh '/bin/bash -c "source _venv/bin/activate && cd doc && make html"' } } stage('Syncing website...') { steps { - echo 'Syncing website...' - } - } - stage('Cleaning up...') { - steps { - echo 'Cleaning artifacts...' + // sh 'rm -rf $HOME/www/*' + // sh 'cp -a ./doc/build/html/* $HOME/www/' } } } } +