Commit 2069efff authored by Andrew Nicols's avatar Andrew Nicols

runTask: Switch post-tasks to Post section

parent c51d058c
......@@ -52,12 +52,12 @@ def call(String task, String branch, String repo, String phpversion, String data
}
}
stage("Post") {
steps {
junit allowEmptyResults: true, testResults: '${env.BUILD_ID}/*.junit/*.xml,${env.BUILD_ID}/*.junit'
archiveArtifacts allowEmptyArchive: true, artifacts: '${env.BUILD_ID}/**'
cleanWs deleteDirs: true, notFailBuild: true
}
}
post {
always {
junit allowEmptyResults: true, testResults: '${env.BUILD_ID}/*.junit/*.xml,${env.BUILD_ID}/*.junit'
archiveArtifacts allowEmptyArchive: true, artifacts: '${env.BUILD_ID}/**'
cleanWs deleteDirs: true, notFailBuild: true
}
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment