pipeline {
  agent { label 'PortsTest' }


	stages {

    stage('Checkout') {
      steps {
        checkout scm
      }
    }

    stage('INDEX Test') {
      steps {
	      sh 'git pull /usr/ports'
        sh 'make -j24 index'
	    }
	  post {
		always {
      			script {
			      cleanWs notFailBuild: true
					}
    		}
			}
		}
	}
}
