Commit d51f023d authored by Holger Levsen's avatar Holger Levsen

reproducible Archlinux: use correct variable for UPDATE query

Signed-off-by: Holger Levsen's avatarHolger Levsen <holger@layer-acht.org>
parent c9f0e453
......@@ -325,7 +325,6 @@ See link:https://jenkins.debian.net/userContent/about.html["about jenkins.debian
*** check/make sure that packages which are newer in trunk than repo are only scheduled once
*** fix irc notification
** make _archlinux_build.sh
*** write db
*** refactor and reuse unregister_build from _build.sh
*** we share /var/log/jenkins/reproducible-race-conditions.log with debian, is that ok? (else fix maintenance job and handle_race_condition())
*** make build respect pacman exit code, see FIXME in _html_.sh
......
......@@ -55,7 +55,7 @@ update_pkg_in_db() {
QUERY="INSERT into results (package_id, version, status, build_date, build_duration, node1, node2, job)
VALUES ('${SRCPKGID}', '$BUILD_VERSION', '$BUILD_STATE', '$DATE', '$BUILD_DURATION', '$NODE1', '$NODE2', '$BUILD_URL')
ON CONFLICT (package_id)
DO UPDATE SET version='$BUILD_VERSION', status='$BUILD_STATE', build_date='$DATE_DATE', build_duration='$BUILD_DURATION', node1='$NODE1', node2='$NODE2', job='$BUILD_URL' WHERE results.package_id='$SRCPKGID'";
DO UPDATE SET version='$BUILD_VERSION', status='$BUILD_STATE', build_date='$DATE', build_duration='$BUILD_DURATION', node1='$NODE1', node2='$NODE2', job='$BUILD_URL' WHERE results.package_id='$SRCPKGID'";
echo "$QUERY"
query_db "$QUERY"
QUERY="INSERT INTO stats_build (name, version, suite, architecture, status, build_date, build_duration, node1, node2, job)
......
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