Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
scripts
mahara-scripts
Commits
05099ec8
Commit
05099ec8
authored
Aug 22, 2016
by
Aaron Wells
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding some code to clean up results from earlier builds
parent
73f34201
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
jenkins/mahara_jenkins.php
jenkins/mahara_jenkins.php
+3
-0
No files found.
jenkins/mahara_jenkins.php
View file @
05099ec8
...
...
@@ -68,6 +68,8 @@ $TRUSTED_EMAIL_DOMAINS = array(
'catalyst-eu.net'
);
passthru_or_die
(
"git clean -df"
);
passthru_or_die
(
"git reset --hard"
);
echo
"
\n
"
;
echo
"########## Check the patch is less than
$MAXBEHIND
patches behind remote branch HEAD
\n
"
;
...
...
@@ -333,6 +335,7 @@ else {
echo
"
\n
"
;
echo
"########## Build & Minify CSS
\n
"
;
echo
"
\n
"
;
passthru
(
'make clean-css'
);
passthru_or_die
(
'make'
,
"This patch encountered an error while attempting to build its CSS.
\n\n
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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