35 lines
		
	
	
		
			532 B
		
	
	
	
		
			Groovy
		
	
	
	
	
	
			
		
		
	
	
			35 lines
		
	
	
		
			532 B
		
	
	
	
		
			Groovy
		
	
	
	
	
	
pipeline {
 | 
						|
    agent any
 | 
						|
 | 
						|
    stages {
 | 
						|
        stage('Configure') {
 | 
						|
	    steps {
 | 
						|
		echo 'Configuring Cmake...'
 | 
						|
		sh '''
 | 
						|
			mkdir "build" &&
 | 
						|
			cd "build" &&
 | 
						|
			cmake "../stm-firmware"
 | 
						|
		'''
 | 
						|
	    }
 | 
						|
	}
 | 
						|
	stage('Build') {
 | 
						|
            steps {
 | 
						|
                sh '''
 | 
						|
			cd "build" &&
 | 
						|
			make
 | 
						|
		'''
 | 
						|
            }
 | 
						|
        }
 | 
						|
        stage('Test') {
 | 
						|
            steps {
 | 
						|
                echo 'Testing..'
 | 
						|
            }
 | 
						|
        }
 | 
						|
        stage('Deploy') {
 | 
						|
            steps {
 | 
						|
                echo 'Deploying....'
 | 
						|
            }
 | 
						|
        }
 | 
						|
    }
 | 
						|
}
 |