I currently have two jenkins freestyle jobs setup. One is titled AutomatedBackup, and the other AutomatedBackupCleanup. Upon successful completion of the AutomatedBackup job, the AutomatedBackupCleanup job is triggered.
I have recently enabled security on my Jenkins instance, which appears to have broken the trigger between the two jobs. The console output from the AutomatedBackup job looks like so:
Started by user Chuck Norris
Running as Chuck Norris
Building on master in workspace /var/lib/jenkins/jobs/AutomatedBackup/workspace
[workspace] $ /bin/sh -xe /tmp/hudson2315047344125249883.sh
+ cp -a /var/lib/jenkins /opt/jenkinsbackups
+ cd /opt/jenkinsbackups
+ date +%Y%m%d-%H%M%S
+ tar czf jenkinsBackup_20170712-151641.tar.gz jenkins/
+ rm -rf /opt/jenkinsbackups/jenkins/
+ git add --all
+ git commit -m Jenkins Automated Backup
[master 85151d9] Jenkins Automated Backup
1 file changed, 0 insertions(+), 0 deletions(-)
create mode 100644 jenkinsBackup_20170712-151641.tar.gz
+ git push
To ssh://g...@191.55.63.157:7999/at/jenkinsbackup.git
5fe7767..85151d9 master -> master
Running as anonymous cannot even see AutomatedBackup for trigger from AutomatedBackupCleanup
Finished: SUCCESS
Each job can be run with success, however the first job is no longer triggering the second job.
Any ideas?