Chore: Upgrade Jenkins-job-builder to 6.3.0
[releng/global-jjb.git] / jenkins-init-scripts / package-listing.sh
1 #!/bin/bash
2 # SPDX-License-Identifier: EPL-1.0
3 ##############################################################################
4 # Copyright (c) 2018 The Linux Foundation and others.
5 #
6 # All rights reserved. This program and the accompanying materials
7 # are made available under the terms of the Eclipse Public License v1.0
8 # which accompanies this distribution, and is available at
9 # http://www.eclipse.org/legal/epl-v10.html
10 ##############################################################################
11
12 # The 'init' scripts are located in 'jenkins-init-scripts' directory.
13 # The 'global-jjb' scripts are located in 'shell' directory.  The
14 # 'package-listing' script is used by both, this is a simple wrapper
15 # for 'shell/package-listing.sh'. Arguments would be quietly discarded.
16
17 jjb_init_scripts="$(dirname "$0")/../shell"
18
19 # Make sure that the package listing script is executable
20 chmod +x "$jjb_init_scripts/package-listing.sh"
21 "$jjb_init_scripts/package-listing.sh"