-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3f4a71b
commit 6952efe
Showing
1 changed file
with
34 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' | ||
} | ||
} | ||
} |