You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
DevOps-Bash-tools/setup/jenkins-job-check-gcp-servi...

39 lines
1.3 KiB
XML

<?xml version='1.1' encoding='UTF-8'?>
<project>
<actions/>
<description>Runs a job to fetch the GCP serviceaccount being used by the default pod on GKE to test Workload Identity integration</description>
<keepDependencies>false</keepDependencies>
<properties>
<jenkins.model.BuildDiscarderProperty>
<strategy class="hudson.tasks.LogRotator">
<daysToKeep>7</daysToKeep>
<numToKeep>100</numToKeep>
<artifactDaysToKeep>-1</artifactDaysToKeep>
<artifactNumToKeep>-1</artifactNumToKeep>
</strategy>
</jenkins.model.BuildDiscarderProperty>
</properties>
<scm class="hudson.scm.NullSCM"/>
<canRoam>true</canRoam>
<disabled>false</disabled>
<blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
<blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
<triggers/>
<concurrentBuild>true</concurrentBuild>
<builders>
<hudson.tasks.Shell>
<command>echo Environment:
echo
env | sort
echo
echo Starting
echo &quot;Fetching GCP Metadata:&quot;
curl -sS -H &quot;Metadata-Flavor: Google&quot; -w &quot;\n&quot; http://169.254.169.254/computeMetadata/v1/instance/service-accounts/default/email
echo Finished</command>
<configuredLocalRules/>
</hudson.tasks.Shell>
</builders>
<publishers/>
<buildWrappers/>
</project>