Tools to make Jenkins jobs from templates
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
jenkins-job-builder/tools/test-commands.sh

8 lines
233 B

#!/bin/bash
set -exou pipefail
VAL1=$(jenkins-jobs --version 2>&1) || exit 1
VAL2=$(python -m jenkins_jobs --version 2>&1) || exit 2
# we assure that both calling methods to get the same output
[ "${VAL1}" == "${VAL2}" ] || exit 3