Dodanie 'Jenkinsfile-stats'
This commit is contained in:
parent
22c60d2e77
commit
9b0116cb3a
37
Jenkinsfile-stats
Normal file
37
Jenkinsfile-stats
Normal file
@ -0,0 +1,37 @@
|
||||
pipeline {
|
||||
agent any
|
||||
parameters {
|
||||
|
||||
}
|
||||
stages {
|
||||
stage('First step') {
|
||||
steps {
|
||||
echo 'Hello world!'
|
||||
}
|
||||
}
|
||||
stage('Checkout') {
|
||||
steps {
|
||||
checkout([$class: 'GitSCM', branches: [[name: '*/feature']], extensions: [], userRemoteConfigs: [
|
||||
[url: 'https://git.wmi.amu.edu.pl/s478839/ium_478839.git']]])
|
||||
}
|
||||
}
|
||||
stage('Copy Artifacts') {
|
||||
copyArtifacts fingerprintArtifacts: true, projectName: 's478839-create-dataset', selector: buildParameter('BUILD_SELECTOR')
|
||||
}
|
||||
stage('Shell Script') {
|
||||
steps {
|
||||
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
|
||||
"KAGGLE_KEY=${params.KAGGLE_KEY}"]) {
|
||||
sh "chmod +x -R ${env.WORKSPACE}"
|
||||
sh './skrypt-simplestats.sh'
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Arichve') {
|
||||
steps{
|
||||
archiveArtifacts artifacts: 'understat.csv', followSymlinks: false
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user