Skip to content

Commit

Permalink
try DinD in pipeline.
Browse files Browse the repository at this point in the history
  • Loading branch information
JFU-NAVA-PBC committed Dec 13, 2024
1 parent 53b412e commit 16faadb
Showing 1 changed file with 2 additions and 22 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,6 @@ pipeline {
}
}

stage("REPORT Python Version") {
steps {
sh """
python3 --version
"""
}
}

stage("INSTALL Python Packages") {
steps {
sh """
Expand All @@ -75,23 +67,11 @@ pipeline {
}
}

stage("Start selenium grid in background") {
stage("Start selenium grid by DinD ...") {
steps{
sh """
whoami
ls /home
chromium --version
chromedriver --version
chromium
java -jar /selenium-server-standalone.jar&
"""
}
}

stage("Check localhost:4444/wd/hub is active") {
steps{
sh """
curl http://localhost:4444/wd/hub
docker run --rm -it -p 4444:4444 -p 5900:5900 -p 7900:7900 --shm-size 2g selenium/standalone-chromium:latest
"""
}
}
Expand Down

0 comments on commit 16faadb

Please sign in to comment.