-
Notifications
You must be signed in to change notification settings - Fork 179
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Stefan Streichsbier
committed
Apr 21, 2017
1 parent
1f4bbe1
commit 0562163
Showing
3 changed files
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
_Store* | ||
.idea/* | ||
zap/tmp | ||
.git | ||
build/ | ||
.gradle | ||
*.iml | ||
*.output | ||
log4j.properties |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Use OpenJDK 8 | ||
FROM openjdk:8-jdk | ||
|
||
ENV URL "https:\/\/localhost:8080\/" | ||
ENV TAGS "@cwe-319-auth" | ||
ENV TAGS_SKIP "~@skip" | ||
|
||
# Set a sensible server directory. | ||
WORKDIR /home/bdd-security | ||
|
||
# Add the directory | ||
ADD . . | ||
|
||
# run gradle | ||
RUN ./gradlew buildIt | ||
|
||
# Execute gradle tests | ||
CMD sed -E -i "s/<baseUrl>.+<\/baseUrl>/<baseUrl>$URL<\/baseUrl>/" config.xml && ./gradlew -Dcucumber.options="--tags ${TAGS} --tags ${TAGS_SKIP}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters