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{
|
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'
|
||||||
|
Loading…
Reference in New Issue
Block a user