Multipipeline #wip
Some checks failed
s434780-training/pipeline/head There was a failure building this commit
Some checks failed
s434780-training/pipeline/head There was a failure building this commit
This commit is contained in:
parent
fdb16e5984
commit
da40e1a0e6
11
Jenkinsfile
vendored
11
Jenkinsfile
vendored
@ -13,19 +13,14 @@ pipeline{
|
||||
script{
|
||||
def img = docker.build('s434780/ium:1.0')
|
||||
img.inside{
|
||||
sh './script.sh'
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
stage('sh: Shell Script'){
|
||||
steps{
|
||||
sh '''
|
||||
chmod +x script.sh
|
||||
./script.sh'''
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
stage('Archive artifacts'){
|
||||
steps{
|
||||
archiveArtifacts 'test.csv'
|
||||
|
Loading…
Reference in New Issue
Block a user