Fix 3 Jenkinsfile
This commit is contained in:
parent
8829f34c77
commit
8d70f6f028
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@ -14,13 +14,13 @@ pipeline {
|
|||||||
}
|
}
|
||||||
stage('sh: Shell Script') {
|
stage('sh: Shell Script') {
|
||||||
steps {
|
steps {
|
||||||
sh('chmod +x ./shell_script.sh')
|
sh chmod +x ./shell_script.sh
|
||||||
sh('./shell_script.sh')
|
sh('./shell_script.sh')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('archiveArtifacts') {
|
stage('archiveArtifacts') {
|
||||||
steps {
|
steps {
|
||||||
archiveArtifacts './result.log'
|
archiveArtifacts 'result.log'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user