Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Dockerized Testing Toolkit
DTT Backend
Commits
f9d40e24
Verified
Commit
f9d40e24
authored
Jan 09, 2021
by
Lukas Wiest
🚂
Browse files
refactor(ci): dtt transition
parent
553a3e8d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Jenkinsfile
View file @
f9d40e24
...
...
@@ -4,7 +4,7 @@ def version = ""
pipeline
{
environment
{
registry
=
"hftstuttgart/
modoco
t-backend"
registry
=
"hftstuttgart/
dt
t-backend"
registryCredential
=
'Dockerhub'
dockerImage
=
''
}
...
...
src/main/java/de/hftstuttgart/utils/ExecuteTestUtil.java
View file @
f9d40e24
...
...
@@ -47,9 +47,9 @@ public class ExecuteTestUtil {
public
ResultSummary
runTests
(
String
assignmentId
,
Path
workDirectory
)
throws
IOException
,
InterruptedException
{
// define paths for the test, the submission and where the result is to be expected afterwards
Path
testPath
=
Paths
.
get
(
workDirectory
.
toAbsolutePath
().
toString
(),
"test"
);
Path
srcPath
=
Paths
.
get
(
workDirectory
.
toAbsolutePath
().
toString
(),
"src"
);
Path
resultPath
=
Paths
.
get
(
workDirectory
.
toAbsolutePath
().
toString
(),
"result"
);
Path
testPath
=
Paths
.
get
(
workDirectory
.
toAbsolutePath
().
toString
(),
"
/
test"
);
Path
srcPath
=
Paths
.
get
(
workDirectory
.
toAbsolutePath
().
toString
(),
"
/
src"
);
Path
resultPath
=
Paths
.
get
(
workDirectory
.
toAbsolutePath
().
toString
(),
"
/
result"
);
// clone stored test to tmpdir
LOG
.
debug
(
"copying pre-downloaded unitttest repo"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment