This is an automated email from the ASF dual-hosted git repository.
hansva pushed a commit to branch integration-tests
in repository https://gitbox.apache.org/repos/asf/incubator-hop.git
The following commit(s) were added to refs/heads/integration-tests by this push:
new 04fc81c HOP-2122
04fc81c is described below
commit 04fc81c7a91aa42298ec876ecaed0716b02ca561
Author: Hans Van Akelyen <[email protected]>
AuthorDate: Sun Dec 6 00:19:07 2020 +0100
HOP-2122
---
.gitignore | 2 +-
Jenkinsfile.daily | 22 ++--------------------
2 files changed, 3 insertions(+), 21 deletions(-)
diff --git a/.gitignore b/.gitignore
index 4acc473..82131e3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -27,4 +27,4 @@ Workflow Run Configuration/
Hop Server/
Relational Database Connection/
\.temp-beam-*/
-
+integration-tests/surefire-reports
\ No newline at end of file
diff --git a/Jenkinsfile.daily b/Jenkinsfile.daily
index fcc5a04..5aac61c 100644
--- a/Jenkinsfile.daily
+++ b/Jenkinsfile.daily
@@ -93,7 +93,8 @@ pipeline {
dockerImage = docker.build(imagename, "-f
Dockerfile.unit-tests .")
dockerImage.inside("-v
$WORKSPACE/integration-tests:/files"){
echo 'Run tests'
- echo 'ls /files'
+ sh 'ls /files'
+ sh 'cd /files/scripts && ./run-tests.sh'
}
}
}
@@ -103,25 +104,6 @@ pipeline {
}
}
}
- // stage('Run Integration Tests'){
- // agent {
- // docker {
- // image 'hop:latest'
- // args "-v $WORKSPACE/integration-tests:/files"
- // }
- // }
- // steps {
- // script {
- // echo 'Run tests'
- // echo 'ls /files'
- // }
- // }
- // post {
- // always {
- // junit(testResults:
'integration-tests/**/surefire-reports/*.xml', allowEmptyResults: true)
- // }
- // }
- // }
stage('Remove docker image'){
steps {
sh "docker rmi $imagename:latest"