Zaktualizuj 'Jenkinsfile'
This commit is contained in:
parent
31764a405a
commit
1e57b548f3
14
Jenkinsfile
vendored
14
Jenkinsfile
vendored
@ -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'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user