Skip to content

Commit

Permalink
Try again, this time running only in-cluster tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
jglick committed Nov 15, 2019
1 parent d13e4fe commit f99cd5e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions kind.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ kubectl apply -f https://raw.githubusercontent.com/rancher/local-path-provisione
kubectl annotate storageclass local-path storageclass.beta.kubernetes.io/is-default-class=true
kubectl delete storageclass standard

export TEST='org.csanchez.jenkins.plugins.kubernetes.pipeline.**.*Test' # skip non-cluster tests
bash test-in-k8s.sh
rm -rf $WSTMP/surefire-reports
kubectl cp jenkins:/checkout/target/surefire-reports $WSTMP/surefire-reports
2 changes: 1 addition & 1 deletion test-in-k8s.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ kubectl cp src jenkins:/checkout/src
kubectl cp settings-azure.xml jenkins:/settings-azure.xml
if [ -v TEST ]
then
args="-Dtest=$TEST test"
args="-Dtest=$TEST -Dmaven.test.redirectTestOutputToFile test"
else
args=verify
fi
Expand Down

0 comments on commit f99cd5e

Please sign in to comment.