Commit Graph

522 Commits

Author SHA1 Message Date
R. Tyler Croy 5eb7141b8c
Update the Jenkinsfile to use stage blocks 2017-02-06 00:37:42 -08:00
Carlos Sanchez fd79401578 Merge pull request #423 from daniel-beck/2.32.2
Jenkins 2.32.2
2017-02-01 13:27:43 +01:00
Daniel Beck 02fa022c63 2.32.2 2017-02-01 13:24:15 +01:00
Carlos Sanchez 3b86cf60bf Merge pull request #419 from muicoder/master
Upgrade Tini to 0.13.2
2017-01-19 09:28:08 +01:00
muicoder bac415c9b8 Upgrade Tini to 0.13.2 2017-01-19 13:47:25 +08:00
djoudi mohammed c694855ed8 Doc update - reverse proxy (#414) 2017-01-13 20:16:51 +01:00
Carlos Sanchez 3cf0212a1a Merge pull request #407 from winggundamth/master-2.32.1
Jenkins 2.32.1
2016-12-26 16:53:09 +01:00
Carlos Sanchez 6c3d40436b Fix tests in build agents without unzip installed (#409) 2016-12-26 12:37:37 +01:00
Jirayut 'Dear' Nimsaeng 349ac006d0 Update Jenkins to 2.32.1 2016-12-26 16:18:26 +07:00
Carlos Sanchez 9aff279f25 Merge pull request #393 from krallin/upgrade-tini
Upgrade Tini to 0.13.1
2016-12-06 18:49:36 +01:00
Thomas Orozco c0d446e77f Upgrade Tini to 0.13.1
This upgrades Tini to 0.13.1 in order to fix a compatibility issue with
https://github.com/joyent/sdc-docker (see:
https://github.com/joyent/sdc-docker/issues/91). The fix itself was
provided by @geek of Joyent.

I've also made the Tini architecture more explicit (since Tini now also
supports ARM), so in case you decide to support additional architectures
in the future, the fix should be more obvious.

There isn't much functional difference between 0.9.0 (which you were
using) and 0.13.1, but here are a few notable changes you might care
about to some extent:

- Tini now supports a `-l` flag to show its license. This was useful
  from a compliance perspective for some users (so considering you're
  shipping Tini that might indirectly be useful to you!).
- Tini now supports a `--version` argument to show its version. This is
  here mostly because it's a little more intuitive than what was there
  before (you'd have to use `-h` to see the version).
- Tini now supports a `TINI_VERBOSITY` environment variable (should be
  an int), which can be convenient for debugging when Tini is used as an
  `ENTRYPOINT` (avoids the need to alter the entrypoint to configure
  it).
- Tini now uses more specific exit codes when it fails to fork (e.g.
  because the binary you're looking for doesn't exist, etc.).

Thanks for using Tini in this image!
2016-12-05 21:17:41 +01:00
Carlos Sanchez c47ac48692 Add a script to Generate the Docker official-images file 2016-12-01 18:58:46 +01:00
Carlos Sanchez 79e871d7ea Merge pull request #392 from CoRfr/2.19.4
Jenkins 2.19.4
2016-12-01 18:40:57 +01:00
Bertrand Roussel 465b2ccf7e Jenkins 2.19.4 2016-11-28 13:02:10 -08:00
Carlos Sanchez 3cfd7c13e7 Ask about non-dockerized jenkins in issue template 2016-11-22 08:40:05 +01:00
Carlos Sanchez b665193095 Add issue template 2016-11-22 08:37:26 +01:00
Daniel Beck 5d9a559059 2.19.3 2016-11-16 19:54:17 +01:00
Carlos Sanchez 635fa416d2 Merge pull request #387 from annerajb/patch-1
Update typo on jenkins.sh
2016-11-15 22:41:36 +03:00
annerajb 4d9ddc9fb4 Updatey typo on jenkins.sh
I believe this is a typo.
2016-11-15 14:23:58 -04:00
Carlos Sanchez 59d9ef6e97 Allow running the tests with specific versions of Jenkins 2016-11-09 13:08:41 +01:00
Carlos Sanchez a0f92a484d Jenkins 2.19.2 2016-11-08 11:32:26 +01:00
Carlos Sanchez adfb095dcd Merge pull request #375 from PierreBtz/fix-broken-link
Fix a broken link in README
2016-10-22 20:50:01 +02:00
PierreBtz 84a1cc11cd Fix a broken link to docker data management documentation in README. 2016-10-22 20:30:17 +02:00
Joe Ferguson d187b53f8f Add ssl to war download url 2016-10-18 08:54:33 +02:00
Patrick Hobusch e23d8ec659 Add plugins.txt file compability for install-plugins.sh
The new install-plugins.sh script removed the possibility to pass a file
containing a list of plugins that was given with the 'old' plugins.sh
script, although this functionality can be provided with only a few
lines more.

Now, when the install-plugins.sh script is called with only a single
argument that matches an existing file on the file system, it is assumed
that this file contains the list of plugins that should be installed,
newlines are replaced by spaces and this manipulated content is used as
the plugins list for further processing.
2016-10-17 13:17:51 +02:00
Carlos Sanchez 2fb0684fe6 Fix race condition in tests, print with newline at end 2016-10-06 14:16:20 -07:00
Carlos Sanchez ab87966c2f Merge pull request #360 from jenkinsci/2.19.1
Upgrade to the new LTS baseline: 2.19.1
2016-10-06 13:38:02 -07:00
Carlos Sanchez 21b0f37a8b Increase default curl timeout to 20 as tests are failing 2016-10-06 13:34:25 -07:00
Carlos Sanchez 4412571648 Merge pull request #361 from visualphoenix/bugfix/connection-timeout
make curl settings configurable
2016-10-06 13:25:49 -07:00
Carlos Sanchez baf3a2e9a7 Merge pull request #363 from elyscape/fix-version-regex
Fix weekly version regular expression
2016-10-06 13:06:08 -07:00
Eli Young 52fa1d7637 Sort before running uniq
If multiple identical lines are separated by a differing line, uniq will
not deduplicate them.
2016-10-06 12:00:47 -07:00
Eli Young 7f54e32737 Fix weekly version regular expression
grep -P supports the \d character class but grep -E does not.  grep -E
only supports [[:digit:]]. I used [0-9] because it's shorter. I also
switched to using egrep, keeping in line with other scripts in the repo.
2016-10-06 12:00:19 -07:00
Raymond Barbiero 6233a4d231 make curl settings configurable 2016-10-04 18:04:09 -04:00
R. Tyler Croy 332f71bfb3 Upgrade to the new LTS baseline: 2.19.1
See also https://jenkins.io/changelog-stable/#v2.19.1
2016-10-04 12:32:30 -07:00
Carlos Sanchez 9cfc6976e6 Merge pull request #357 from charles-dyfis-net/regression-fix-352
Fix regression from bbbb76d4
2016-09-27 23:27:48 +02:00
Charles Duffy 837f9a69ba Fix regression from bbbb76d4
Code tested against BSD xargs, fails with GNU implementation.
2016-09-27 16:14:27 -05:00
Carlos Sanchez a87ec8a4a7 Fix Issue #349 Support for version with more than two numbers 2016-09-26 17:05:38 +02:00
Charles Duffy 3eec42cbad Full best-practices / shellcheck-compliance pass
- Use modern `$()` syntax vs backticks [see [SC2006](https://github.com/koalaman/shellcheck/wiki/SC2006)]
- Always check for, and bail on, failures of `cd`. [see [SC2164](https://github.com/koalaman/shellcheck/wiki/SC2164)]
- Avoid `for foo in $(...)`, per [DontReadLinesWithFor](http://mywiki.wooledge.org/DontReadLinesWithFor)
- Avoid parsing `ls` to find subdirectories when `for d in "$dir"/*/` does the job; see also [ParsingLs](http://mywiki.wooledge.org/ParsingLs)
- `\s` is not specified in POSIX ERE (thus, not guaranteed to be available in bash-native regexes unless local platform's C library's regex implementation extends standard); use `[[:space:]]` instead.
- Avoid unnecessary deviations from POSIX sh specification:
   - `echo -e` violates (not just extends) POSIX, doesn't work as expected in bash compiled with `--enable-xpg-echo-default`; [POSIX specification](http://pubs.opengroup.org/onlinepubs/009604599/utilities/echo.html) suggests `printf` as replacement (see APPLICATION USAGE section).
   - `function` keyword not specified in POSIX, provides no benefit over standard-compliant syntax
2016-09-26 17:03:10 +02:00
Charles Duffy ffbd787bd6 Fix shellcheck warning
Quoting arguments as in `: "${varname:=default}"` increases usefulness of `set -x` logs.
2016-09-26 17:03:10 +02:00
Charles Duffy bbbb76d46b Avoid eval, shell-injection via JAVA_OPTS or JENKINS_OPTS
The intent of using eval when processing JAVA_OPTS or JENKINS_OPTS is to allow arguments with spaces to be passed through and parsed without the bugs given in [BashFAQ #50](http://mywiki.wooledge.org/BashFAQ/050). By using `eval`, however, the issues discussed in [BashFAQ #48](http://mywiki.wooledge.org/BashFAQ/048) are introduced.

Strings containing whitespace can be safely processed with `xargs`, which -- when not used with the non-POSIX extensions `-0` or `-d` -- follows shell quoting conventions in splitting its input stream into arguments.
2016-09-26 17:03:10 +02:00
Charles Duffy 9868358cfa Support non-GNU find; avoid shell-injection vulnerability via malicious filenames (#351) 2016-09-26 17:03:10 +02:00
Gareth Harcombe-Minson d6a7512eec Remove zip dependency and replace with unzip equivalent (#354) 2016-09-26 16:59:36 +02:00
Carlos Sanchez 3e58be9165 Make Jenkinsfile work in https://ci.jenkins.io/job/Packaging/job/docker 2016-09-17 10:11:37 -07:00
Carlos Sanchez 9539998b6f Fix bats cloning 2016-09-16 18:09:44 -07:00
Bertrand Roussel 6eaa9b1592 Use Jenkins 2.7.4 LTS (#343)
Not much since 2.7.3, cf https://jenkins.io/changelog-stable/#v2.7.4
- Prevent File descriptor leaks when reading plugin manifests. It causes
  failures during the upgrade of detached plugins on Windows.
2016-09-11 10:11:23 +02:00
Carlos Sanchez 1317ffc23d Typos 2016-09-06 10:21:30 +02:00
Nicolas De loof 42fcf2b407 Update README.md 2016-09-05 11:57:56 +02:00
Mark Waite f027728bc1 Use Jenkins 2.7.3 LTS (#340) 2016-09-01 10:13:56 +02:00
Carlos Sanchez 0d167af18b Fix #337 Use the correct bash expansion in install-plugins 2016-08-29 11:03:03 +02:00
Carlos Sanchez af7f6fa78f Merge pull request #334 from jeanlouisboudart/master
Fix default value handling (-u option is set making -z  fail)
2016-08-28 20:34:40 +02:00