Zaktualizuj 'Jenkinsfile'

This commit is contained in:
Witold Woch 2023-03-28 22:44:05 +02:00
parent 31764a405a
commit 1e57b548f3

14
Jenkinsfile vendored
View File

@ -17,24 +17,13 @@ node {
]) ])
} }
pipeline {
agent any
stages {
stage('checkout: Check out from version control') { stage('checkout: Check out from version control') {
steps {
checkout([$class: 'GitSCM', checkout([$class: 'GitSCM',
branches: [[name: '*/master']], branches: [[name: '*/master']],
extensions: [], extensions: [],
userRemoteConfigs: [[credentialsId: 's487194', url: 'https://git.wmi.amu.edu.pl/s487194/ium_487194']]]) userRemoteConfigs: [[credentialsId: 's487194', url: 'https://git.wmi.amu.edu.pl/s487194/ium_487194']]])
} }
}
stage('Stage 1') {
steps {
echo 'Hello world!'
}
}
}
}
stage('Build') { stage('Build') {
// Run the maven build // Run the maven build
@ -44,6 +33,7 @@ stage('Build') {
sh 'echo KAGGLE_USERNAME: $KAGGLE_USERNAME' sh 'echo KAGGLE_USERNAME: $KAGGLE_USERNAME'
sh 'chmod u+x ./Downloads_sales.sh' sh 'chmod u+x ./Downloads_sales.sh'
sh './Downloads_sales.sh' sh './Downloads_sales.sh'
archiveArtifacts artifacts: 'Sales.csv'
} }
} }
} }