change relative path file add clean to mvn command

This commit is contained in:
Roberto Cirillo 2023-02-07 15:13:58 +01:00
parent c3fb6b7617
commit 69a9a594ce
1 changed files with 2 additions and 2 deletions

4
Jenkinsfile vendored
View File

@ -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) {