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://[email protected]: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?

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/BY2PR12MB0599553C844F30D4D71CA0C989AF0%40BY2PR12MB0599.namprd12.prod.outlook.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to