Closed ajtucker closed 3 years ago
Set up Jenkins job. Added Dockerfile to create repeatable environment to run behave and output as Cucumber reports. Docker image will be rebuilt if Pipfile, Pipflie.lock, setup.py or cucumber-format.patch are changed.
Had issues where the test results weren't found in the post
section, due to different workspaces being used for different stages of the build. Needed to use reuseNode true
in the docker
agent section to get it to use the same workspace.
Job now runs and collects BDD test results.
Create a multi-branch pipeline in Jenkins to run behave.