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
287f0dcf
Commit
287f0dcf
authored
Mar 09, 2016
by
Holger Levsen
Browse files
fix syntax
parent
16aaa1e2
Changes
2
Hide whitespace changes
Inline
Side-by-side
bin/diffoscope_pypi_test.sh
View file @
287f0dcf
...
@@ -4,14 +4,13 @@
...
@@ -4,14 +4,13 @@
# released under the GPLv=2
# released under the GPLv=2
DEBUG
=
false
DEBUG
=
false
#
. /srv/jenkins/bin/common-functions.sh
.
/srv/jenkins/bin/common-functions.sh
#
common_init "$@"
common_init
"
$@
"
cleanup_all
()
{
cleanup_all
()
{
rm
$TMPPYPI
rm
$TMPPYPI
}
}
#
#
# main
# main
#
#
...
@@ -23,7 +22,6 @@ curl https://pypi.python.org/pypi/diffoscope/ -o $TMPPYPI
...
@@ -23,7 +22,6 @@ curl https://pypi.python.org/pypi/diffoscope/ -o $TMPPYPI
DIFFOSCOPE_IN_PYPI
=
$(
grep
"<title>"
$TMPPYPI
|
cut
-d
">"
-f2-
|
cut
-d
":"
-f1
|cut
-d
" "
-f2
)
DIFFOSCOPE_IN_PYPI
=
$(
grep
"<title>"
$TMPPYPI
|
cut
-d
">"
-f2-
|
cut
-d
":"
-f1
|cut
-d
" "
-f2
)
echo
echo
echo
echo
if
[
"
$DIFFOSCOPE_IN_DEBIAN
"
=
"
$DIFFOSCOPE_IN_PYPI
"
]
;
then
if
[
"
$DIFFOSCOPE_IN_DEBIAN
"
=
"
$DIFFOSCOPE_IN_PYPI
"
]
;
then
echo
"Yay. diffoscope in Debian has the same version as on PyPI."
echo
"Yay. diffoscope in Debian has the same version as on PyPI."
elif
dpkg
--compare-versions
"
$DIFFOSCOPE_IN_DEBIAN
"
gt
"
$DIFFOSCOPE_IN_PYPI
"
;
then
elif
dpkg
--compare-versions
"
$DIFFOSCOPE_IN_DEBIAN
"
gt
"
$DIFFOSCOPE_IN_PYPI
"
;
then
...
...
job-cfg/reproducible.yaml
View file @
287f0dcf
...
@@ -461,7 +461,7 @@
...
@@ -461,7 +461,7 @@
my_description
:
'
Build
a
simple
webpage
for
Fedora
23
reproducibility
tests'
my_description
:
'
Build
a
simple
webpage
for
Fedora
23
reproducibility
tests'
my_timed
:
'
'
my_timed
:
'
'
my_shell
:
'
/srv/jenkins/bin/reproducible_html_rpms.sh
fedora-23
x86_64'
my_shell
:
'
/srv/jenkins/bin/reproducible_html_rpms.sh
fedora-23
x86_64'
-
'
diffoscope_pypi'
-
'
diffoscope_pypi'
:
my_description
:
'
Test
whether
PyPI
has
the
latest
diffoscope.'
my_description
:
'
Test
whether
PyPI
has
the
latest
diffoscope.'
my_timed
:
'
23
23
*
*
*'
my_timed
:
'
23
23
*
*
*'
my_shell
:
'
/srv/jenkins/bin/diffoscope_pypi_test.sh'
my_shell
:
'
/srv/jenkins/bin/diffoscope_pypi_test.sh'
...
...
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