Skip to content

Commit

Permalink
Create Jenkinsfile
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcombessie authored Oct 9, 2020
1 parent 3f4a71b commit 6952efe
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
pipeline {
agent { label 'dss-plugin-tests'}
environment {
HOST = "$dss_target_host"
}
stages {
stage('Run Unit Tests') {
steps {
sh 'echo "Running unit tests"'
sh """
make unit-tests
"""
sh 'echo "Done with unit tests"'
}
}
// stage('Run Integration Tests') {
// steps {
// withCredentials([string(credentialsId: 'dss-plugins-admin-api-key', variable: 'API_KEY')]) {
// sh 'echo "Running integration tests"'
// sh 'echo "$HOST"'
// sh """
// make integration-tests
// """
// sh 'echo "Done with integration tests"'
// }
// }
// }
}
post {
always {
junit '*.xml'
}
}
}

0 comments on commit 6952efe

Please sign in to comment.