Test
This commit is contained in:
parent
3af321fdee
commit
1f365aa38b
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@ -26,9 +26,11 @@ node {
|
|||||||
checkout([$class: 'GitSCM', branches: [[name: '*/master']], extensions: [], userRemoteConfigs: [[credentialsId: 's487197', url: 'https://git.wmi.amu.edu.pl/s487197/ium_487197']]])
|
checkout([$class: 'GitSCM', branches: [[name: '*/master']], extensions: [], userRemoteConfigs: [[credentialsId: 's487197', url: 'https://git.wmi.amu.edu.pl/s487197/ium_487197']]])
|
||||||
}
|
}
|
||||||
stage('Dockerfile'){
|
stage('Dockerfile'){
|
||||||
def testImage = docker.image("test-image")
|
def testImage = docker.image("ium")
|
||||||
sh "chmod u+x ${env.WORKSPACE}"
|
sh "chmod u+x ${env.WORKSPACE}"
|
||||||
testImage.inside("""-w=${WORKSPACE} """){
|
testImage.inside("""-w=${WORKSPACE} """){
|
||||||
|
sh 'echo "Tests passed"'
|
||||||
|
sh 'python3'
|
||||||
stage('Shell Script') {
|
stage('Shell Script') {
|
||||||
// Run the maven build
|
// Run the maven build
|
||||||
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
|
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
|
||||||
|
Loading…
Reference in New Issue
Block a user