aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap/jenkins
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap/jenkins')
-rwxr-xr-xbootstrap/jenkins/scripts/gen-java-jobs.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/bootstrap/jenkins/scripts/gen-java-jobs.py b/bootstrap/jenkins/scripts/gen-java-jobs.py
index 0fc538886..b4546c00f 100755
--- a/bootstrap/jenkins/scripts/gen-java-jobs.py
+++ b/bootstrap/jenkins/scripts/gen-java-jobs.py
@@ -12,11 +12,11 @@ import fileinput
import os
import subprocess
-print """- project:
+print("""- project:
name: onap-java
jobs:
- 'java-{project}'
- project:"""
+ project:""")
for line in fileinput.input():
repo = line.strip()
@@ -28,9 +28,9 @@ for line in fileinput.input():
project = repo.replace("/", "_")
if pompath:
project += "_" + pompath.replace("/", "_")
- print " - '{}':".format(project)
- print " repo: '{}'".format(repo)
- if pompath:
- print " pom: '{}/pom.xml'".format(pompath)
+ print(" - '{}':".format(project))
+ print(" repo: '{}'".format(repo))
+ if pompath:
+ print(" pom: '{}/pom.xml'".format(pompath))
else:
- print " pom: 'pom.xml'"
+ print(" pom: 'pom.xml'")