Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Debian QA
jenkins.debian.net
Commits
4d69e205
Commit
4d69e205
authored
Sep 22, 2015
by
Holger Levsen
Browse files
reproducible: remove cleanup code as each build job now cleans up before starting a build
parent
f27f61c3
Changes
1
Show whitespace changes
Inline
Side-by-side
hosts/jenkins/etc/init.d/jenkins
View file @
4d69e205
...
@@ -92,9 +92,6 @@ check_tcp_port() {
...
@@ -92,9 +92,6 @@ check_tcp_port() {
#
#
do_start
()
do_start
()
{
{
# Clean up the Reproducible Builds database from running builds
sqlite3 /var/lib/jenkins/reproducible.db
"UPDATE schedule SET date_build_started = '' WHERE date_build_started != '';"
||
true
# the default location is /var/run/jenkins/jenkins.pid but the parent directory needs to be created
# the default location is /var/run/jenkins/jenkins.pid but the parent directory needs to be created
mkdir
`
dirname
$PIDFILE
`
>
/dev/null 2>&1
||
true
mkdir
`
dirname
$PIDFILE
`
>
/dev/null 2>&1
||
true
chown
$JENKINS_USER
`
dirname
$PIDFILE
`
chown
$JENKINS_USER
`
dirname
$PIDFILE
`
...
...
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