Skip to content

Commit

Permalink
test jenkins
Browse files Browse the repository at this point in the history
  • Loading branch information
Isaiah Peralta committed Jul 12, 2023
1 parent 2a25415 commit 0cb0115
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ pipeline {
parameters {
booleanParam(
name: 'NIGHTLY',
defaultValue: false,
defaultValue: true,
description: 'Run tests on all agents and environment including: FIPS'
)
string(
Expand Down Expand Up @@ -272,6 +272,7 @@ pipeline {
// Run outside parallel block to avoid external pressure
stage('RSpec - Standard agent tests') {
steps {
sh 'docker version && docker-compose version'
sh 'ci/test rspec'
}
}
Expand Down Expand Up @@ -1049,6 +1050,7 @@ def conjurTests() {
],
"api": [
"API - ${env.STAGE_NAME}": {
sh 'docker version && docker-compose version'
sh 'ci/test api'
}
],
Expand Down
4 changes: 2 additions & 2 deletions gems/policy-parser/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ main() {
# internal functions

build() {
docker-compose build --pull
docker compose build --pull
}

run_tests() {
docker-compose run test "$@"
docker compose run test "$@"
}

main "$@"

0 comments on commit 0cb0115

Please sign in to comment.