SUSE/connect

View on GitHub
Jenkinsfile-Prophet

Summary

Maintainability
Test Coverage
#!groovy

node('scc-connect') {
  ansiColor('xterm') {
    stage('checkout') {
      git 'git@github.com:SUSE/connect.git'
    }

    stage('copy configuration') {
      sh 'cp /home/jenkins/options-local-connect-prophet.yml prophet/options-local.yml'
    }

    stage('run prophet') {
      dir('./prophet') {
        sh 'ruby ./prophet.rb'
      }
    }
  }
}