change relative path file add clean to mvn command
This commit is contained in:
parent
c3fb6b7617
commit
69a9a594ce
|
@ -149,10 +149,10 @@ def push(repo_url, repo_name, tag, gCube_release_version, commit) {
|
||||||
sh("""
|
sh("""
|
||||||
git remote set-url origin $repository
|
git remote set-url origin $repository
|
||||||
git fetch
|
git fetch
|
||||||
mvn generate-resources
|
mvn clean generate-resources
|
||||||
""")
|
""")
|
||||||
}
|
}
|
||||||
fileContent = readJSON(file: "export.json", encoding: "UTF-8")
|
fileContent = readJSON(file: "target/classes/META-INF/export.json", encoding: "UTF-8")
|
||||||
}
|
}
|
||||||
def lines = fileContent.readLines()
|
def lines = fileContent.readLines()
|
||||||
for (line in lines) {
|
for (line in lines) {
|
||||||
|
|
Loading…
Reference in New Issue