Multipipeline #wip
Some checks failed
s434780-training/pipeline/head There was a failure building this commit

This commit is contained in:
sadurska@trui.pl 2021-05-16 21:38:05 +02:00
parent fdb16e5984
commit da40e1a0e6

11
Jenkinsfile vendored
View File

@ -13,19 +13,14 @@ pipeline{
script{ script{
def img = docker.build('s434780/ium:1.0') def img = docker.build('s434780/ium:1.0')
img.inside{ img.inside{
sh './script.sh'
}
}
}
}
stage('sh: Shell Script'){
steps{
sh ''' sh '''
chmod +x script.sh chmod +x script.sh
./script.sh''' ./script.sh'''
} }
} }
}
}
stage('Archive artifacts'){ stage('Archive artifacts'){
steps{ steps{
archiveArtifacts 'test.csv' archiveArtifacts 'test.csv'