Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
pcaskey committed Nov 9, 2022
1 parent d70d3c3 commit 3f5ae46
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ pipeline {
try {
echo "Starting tests..."
// sh "bin/test.sh 2>&1 | tee debug ; test ${PIPESTATUS[0]} -eq 0"
sh tests/fulltest.sh
sh 'tests/fulltest.sh'
// ===> need bats, webisoget on jenkins node, also need to send/set correct image name
// echo "Skipping tests for now"
} catch (error) {
Expand Down
4 changes: 2 additions & 2 deletions tests/fulltest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ echo "Attempting full-cycle test..."
#webisoget -verbose -out ./lastpage.txt -formfile ./sptest.login -url https://sptest.example.edu:8443/secure/index.php

#build docker container
pushd ../test-compose/webisoget/
pushd ../test-compose/webisoget/ &>/dev/null
docker build -t webisoget .
popd
popd &>/dev/null

docker run --net host -w /webisoget/ -i webisoget /bin/bash -c "rm -f lastpage.txt & webisoget -out ./lastpage.txt -maxhop 100 -timeout 120 -formfile /webisoget/sptest.login -url https://sptest.example.edu:8443/secure/index.php && cat lastpage.txt" > lastpage.txt

Expand Down

0 comments on commit 3f5ae46

Please sign in to comment.