move run script to jenkins
This commit is contained in:
parent
3880422996
commit
1e9baedca1
@ -22,4 +22,4 @@ RUN chmod o+wrx ./startscript1.sh
|
|||||||
|
|
||||||
RUN chmod o+wrx ./runPythonScripts.sh
|
RUN chmod o+wrx ./runPythonScripts.sh
|
||||||
|
|
||||||
RUN ./startscript1.sh
|
# RUN ./startscript1.sh
|
7
Jenkinsfile
vendored
7
Jenkinsfile
vendored
@ -23,6 +23,13 @@ pipeline {
|
|||||||
checkout scm
|
checkout scm
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
stage("start docker") {
|
||||||
|
agent {
|
||||||
|
docker.image.inside('mikolajk/ium:latest') {
|
||||||
|
sh './startscript1.sh'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
stage("Shell Scripts") {
|
stage("Shell Scripts") {
|
||||||
steps {
|
steps {
|
||||||
// sh "KAGGLE_USERNAME=${params.KAGGLE_USERNAME} KAGGLE_KEY=${params.KAGGLE_KEY} CUTOFF=${CUTOFF} ./startscript1.sh"
|
// sh "KAGGLE_USERNAME=${params.KAGGLE_USERNAME} KAGGLE_KEY=${params.KAGGLE_KEY} CUTOFF=${CUTOFF} ./startscript1.sh"
|
||||||
|
@ -4,6 +4,7 @@ pipeline {
|
|||||||
stage("start docker") {
|
stage("start docker") {
|
||||||
agent {
|
agent {
|
||||||
docker.image.inside('mikolajk/ium:latest') {
|
docker.image.inside('mikolajk/ium:latest') {
|
||||||
|
sh './startscript1.sh'
|
||||||
archiveArtifacts './Participants_Data_HPP/Train.csv ./Participants_Data_HPP/Test.csv ./Participants_Data_HPP/Dev.csv'
|
archiveArtifacts './Participants_Data_HPP/Train.csv ./Participants_Data_HPP/Test.csv ./Participants_Data_HPP/Dev.csv'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# kaggle datasets download -d akash14/house-price-dataset
|
# kaggle datasets download -d akash14/house-price-dataset
|
||||||
pwd
|
#pwd
|
||||||
ls -la
|
#ls -la
|
||||||
unzip -o house-price-dataset.zip
|
unzip -o house-price-dataset.zip
|
||||||
# echo $CUTOFF
|
# echo $CUTOFF
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user