40 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Groovy
		
	
	
	
			
		
		
	
	
			40 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Groovy
		
	
	
	
pipeline {
 | 
						|
    agent {label 'physix_agent'}
 | 
						|
    stages {
 | 
						|
        stage('Initial setup...') {
 | 
						|
            steps {
 | 
						|
                echo 'Initial setup...'
 | 
						|
                sh './scripts/install_fiji.bash'
 | 
						|
                // echo 'Create or update the virtual Python environment'
 | 
						|
                // sh '/bin/bash ./src/CI/CI.bash -i ci_venv'
 | 
						|
            }
 | 
						|
        }
 | 
						|
        stage('Testing the package...') {
 | 
						|
            steps {
 | 
						|
                sh './tests/test0001.bash'
 | 
						|
            }
 | 
						|
        }
 | 
						|
        // stage('Building HTML documentation...') {
 | 
						|
        //     steps {
 | 
						|
        //         echo 'Building HTML documentation...'
 | 
						|
        //         // sh '/bin/bash ./src/CI/CI.bash -d ci_venv'
 | 
						|
        //     }
 | 
						|
        // }
 | 
						|
        // stage('Releasing package...') {
 | 
						|
        //     steps {
 | 
						|
        //         echo 'Releasing package...'
 | 
						|
        //         // sh 'rm -rf $HOME/www/*'
 | 
						|
        //         // sh 'cp -a ./src/doc/build/html/* $HOME/www/'
 | 
						|
        //     }
 | 
						|
        // }
 | 
						|
        stage('Cleaning up...') {
 | 
						|
            steps {
 | 
						|
                echo 'Cleaning artifacts...'
 | 
						|
                sh './scripts/uninstall_fiji.bash'
 | 
						|
                // sh 'rm -rf ./install_resources'
 | 
						|
                // sh 'cd ./src/doc && make clean'
 | 
						|
            }
 | 
						|
        }
 | 
						|
    }
 | 
						|
}
 |