Debian Codegraph @

tests/yamlparser/job_fixtures/regression-2006254.xml

raw symbols SCIP
1 <?xml version="1.0" encoding="utf-8"?>
2 <project>
3 <actions/>
4 <description>Build gluster-sci containers and push it to dockerhub&lt;!-- Managed by Jenkins Job Builder --&gt;</description>
5 <keepDependencies>false</keepDependencies>
6 <disabled>true</disabled>
7 <blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
8 <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
9 <concurrentBuild>true</concurrentBuild>
10 <assignedNode>fedora</assignedNode>
11 <canRoam>false</canRoam>
12 <properties>
13 <hudson.model.ParametersDefinitionProperty>
14 <parameterDefinitions>
15 <hudson.model.BooleanParameterDefinition>
16 <name>PUSH_TO_HUB</name>
17 <description>Push to Docker Hub</description>
18 <defaultValue>true</defaultValue>
19 </hudson.model.BooleanParameterDefinition>
20 </parameterDefinitions>
21 </hudson.model.ParametersDefinitionProperty>
22 </properties>
23 <scm class="hudson.plugins.git.GitSCM">
24 <configVersion>2</configVersion>
25 <userRemoteConfigs>
26 <hudson.plugins.git.UserRemoteConfig>
27 <name>origin</name>
28 <refspec>+refs/heads/*:refs/remotes/origin/*</refspec>
29 <url>https://github.com/gluster/gluster-csi-driver.git</url>
30 </hudson.plugins.git.UserRemoteConfig>
31 </userRemoteConfigs>
32 <branches>
33 <hudson.plugins.git.BranchSpec>
34 <name>master</name>
35 </hudson.plugins.git.BranchSpec>
36 </branches>
37 <disableSubmodules>false</disableSubmodules>
38 <recursiveSubmodules>false</recursiveSubmodules>
39 <doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations>
40 <remotePoll>false</remotePoll>
41 <gitTool>Default</gitTool>
42 <submoduleCfg class="list"/>
43 <reference/>
44 <gitConfigName/>
45 <gitConfigEmail/>
46 <extensions>
47 <hudson.plugins.git.extensions.impl.RelativeTargetDirectory>
48 <relativeTargetDir>go/src/github.com/gluster/gluster-csi-driver</relativeTargetDir>
49 </hudson.plugins.git.extensions.impl.RelativeTargetDirectory>
50 <hudson.plugins.git.extensions.impl.WipeWorkspace/>
51 </extensions>
52 </scm>
53 <triggers class="vector">
54 <hudson.triggers.TimerTrigger>
55 <spec>H 14 * * *</spec>
56 </hudson.triggers.TimerTrigger>
57 </triggers>
58 <builders>
59 <hudson.tasks.Shell>
60 <command>#!/bin/bash
61 IMG_NAME="gluster/glusterd2-nightly"
62 IMG_VERSION=$(date +%Y%m%d)
63
64
65 mkdir -p go/{pkg,src,bin}
66 export GOPATH=$PWD/go
67 export PATH=$PATH:$GOPATH/bin
68 export PATH=/usr/sbin:$PATH
69
70 export CSISRC=$GOPATH/src/github.com/gluster/gluster-csi-driver
71 cd $CSISRC
72 go get github.com/xxx/yyy
73 go get -u github.com/golang/dep/cmd/dep
74 make
75
76 cp pkg/glusterfs/Dockerfile .
77 buildah bud .
78 #if [ "$PUSH_TO_HUB" = true ]; then
79 #buildah push --authfile $AUTH_JSON "localhost/$IMG_NAME:$IMG_VERSION" "docker://docker.io/gluster/glusterd2-nightly:$IMG_VERSION"
80 #buildah push --authfile $AUTH_JSON "localhost/$IMG_NAME:$IMG_VERSION" "docker://docker.io/gluster/glusterd2-nightly:latest"
81 #fi
82 </command>
83 </hudson.tasks.Shell>
84 </builders>
85 <publishers/>
86 <buildWrappers>
87 <hudson.plugins.timestamper.TimestamperBuildWrapper/>
88 <org.jenkinsci.plugins.credentialsbinding.impl.SecretBuildWrapper>
89 <bindings>
90 <org.jenkinsci.plugins.credentialsbinding.impl.FileBinding>
91 <variable>AUTH_JSON</variable>
92 <credentialsId>xxx</credentialsId>
93 </org.jenkinsci.plugins.credentialsbinding.impl.FileBinding>
94 </bindings>
95 </org.jenkinsci.plugins.credentialsbinding.impl.SecretBuildWrapper>
96 <hudson.plugins.build__timeout.BuildTimeoutWrapper>
97 <strategy class="hudson.plugins.build_timeout.impl.AbsoluteTimeOutStrategy">
98 <timeoutMinutes>30</timeoutMinutes>
99 </strategy>
100 <operationList>
101 <hudson.plugins.build__timeout.operations.AbortOperation/>
102 </operationList>
103 </hudson.plugins.build__timeout.BuildTimeoutWrapper>
104 </buildWrappers>
105 </project>