Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Andrew Lyons
pipeline
Commits
2069efff
Commit
2069efff
authored
Dec 15, 2017
by
Andrew Nicols
Browse files
runTask: Switch post-tasks to Post section
parent
c51d058c
Changes
1
Hide whitespace changes
Inline
Side-by-side
vars/runTask.groovy
View file @
2069efff
...
...
@@ -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
allowEmpty
Archive
:
true
,
artifac
ts:
'${env.BUILD_ID}/*
*
'
cleanWs
deleteDirs:
true
,
notFailBuild:
true
}
}
post
{
always
{
junit
allowEmpty
Results
:
true
,
testResul
ts:
'${env.BUILD_ID}/*
.junit/*.xml,${env.BUILD_ID}/*.junit
'
archiveArtifacts
allowEmptyArchive:
true
,
artifacts:
'${env.BUILD_ID}/**'
cleanWs
deleteDirs:
true
,
notFailBuild:
true
}
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment