This file is indexed.

/usr/bin/jenkins-monitor-job is in jenkins-external-job-monitor 1.424.6+dfsg-1.

This file is owned by root:root, with mode 0o755.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/bin/sh

JENKINS_LIB=/usr/share/jenkins/external-job-monitor/java

# Check if set in local environment first
if [ "$JENKINS_HOME" = "" ]
then
    # Check global configuration
    if [ -f /etc/jenkins/external-job-monitor.conf ]
    then
         . /etc/jenkins/external-job-monitor.conf
    fi

    # Check user configuration - overrides global
    if [ -f ${HOME}/.jenkins/external-job-monitor.conf ]
    then
         .  ${HOME}/.jenkins/external-job-monitor.conf
    fi

    if [ "$JENKINS_HOME" = "" ]
    then
        echo "JENKINS_HOME is not set"
        exit 1
    fi
fi

# Export for Java process
export JENKINS_HOME

java -jar ${JENKINS_LIB}/jenkins-core.jar "$@"