Started by GitLab push by Michele Carignani Obtained Jenkinsfile from git git@forge.etsi.org:cti/forge-tools/nfv-openapis-tools.git Running in Durability level: MAX_SURVIVABILITY [Pipeline] node Running on Build 3 in /home/jenkins/workspace/playground/test-nfv-jenkinsfile [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential f9a9fd70-ea8b-4872-a9d5-d1fb1cf8123e > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@forge.etsi.org:cti/forge-tools/nfv-openapis-tools.git # timeout=10 Fetching upstream changes from git@forge.etsi.org:cti/forge-tools/nfv-openapis-tools.git > git --version # timeout=10 using GIT_SSH to set credentials > git fetch --tags --progress git@forge.etsi.org:cti/forge-tools/nfv-openapis-tools.git +refs/heads/*:refs/remotes/origin/* > git rev-parse remotes/origin/master^{commit} # timeout=10 > git branch -a -v --no-abbrev --contains 68e9f4705f83f08f900adf43b591cfa8aa997b61 # timeout=10 Checking out Revision 68e9f4705f83f08f900adf43b591cfa8aa997b61 (origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f 68e9f4705f83f08f900adf43b591cfa8aa997b61 Commit message: "fix" > git rev-list --no-walk 90c7fb6d690635f0c3001d5a4f49b657d3394464 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] gitlabBuilds [Pipeline] { [Pipeline] stage [Pipeline] { (Resolve) [Pipeline] sh + echo Resolve stage Resolve stage [Pipeline] updateGitlabCommitStatus [Pipeline] dir Running in /home/jenkins/workspace/playground/test-nfv-jenkinsfile/apis [Pipeline] { [Pipeline] checkout using credential f9a9fd70-ea8b-4872-a9d5-d1fb1cf8123e > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@forge.etsi.org:cti/forge-tools/nfv-openapis-tools.git # timeout=10 Fetching upstream changes from git@forge.etsi.org:cti/forge-tools/nfv-openapis-tools.git > git --version # timeout=10 using GIT_SSH to set credentials > git fetch --tags --progress git@forge.etsi.org:cti/forge-tools/nfv-openapis-tools.git +refs/heads/*:refs/remotes/origin/* > git rev-parse remotes/origin/master^{commit} # timeout=10 > git branch -a -v --no-abbrev --contains 68e9f4705f83f08f900adf43b591cfa8aa997b61 # timeout=10 Checking out Revision 68e9f4705f83f08f900adf43b591cfa8aa997b61 (origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f 68e9f4705f83f08f900adf43b591cfa8aa997b61 Commit message: "fix" [Pipeline] } [Pipeline] // dir [Pipeline] dir Running in /home/jenkins/workspace/playground/test-nfv-jenkinsfile/scripts [Pipeline] { [Pipeline] checkout using credential f9a9fd70-ea8b-4872-a9d5-d1fb1cf8123e > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@forge.etsi.org:cti/forge-tools/nfv-openapis-tools.git # timeout=10 Fetching upstream changes from git@forge.etsi.org:cti/forge-tools/nfv-openapis-tools.git > git --version # timeout=10 using GIT_SSH to set credentials > git fetch --tags --progress git@forge.etsi.org:cti/forge-tools/nfv-openapis-tools.git +refs/heads/*:refs/remotes/origin/* > git rev-parse remotes/origin/master^{commit} # timeout=10 > git branch -a -v --no-abbrev --contains 68e9f4705f83f08f900adf43b591cfa8aa997b61 # timeout=10 Checking out Revision 68e9f4705f83f08f900adf43b591cfa8aa997b61 (origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f 68e9f4705f83f08f900adf43b591cfa8aa997b61 Commit message: "fix" [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Validate) [Pipeline] updateGitlabCommitStatus [Pipeline] sh + echo Validate stage Validate stage [Pipeline] sh + cd ./scripts + pwd + bash .jenkins.sh /home/jenkins/workspace/playground/test-nfv-jenkinsfile/scripts/../apis bash: ./docker/build-container.sh: No such file or directory ./docker/run-container.sh: line 4: $'\r': command not found ./docker/run-container.sh: line 9: $'\r': command not found ./docker/run-container.sh: line 12: $'\r': command not found Mounting dir /home/jenkins/workspace/playground/test-nfv-jenkinsfile/scripts/../apis as /work ./docker/run-container.sh: line 14: $'\r': command not found ./docker/run-container.sh: line 22: syntax error near unexpected token `$'\r'' ./docker/run-container.sh: line 22: `fi ' [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // gitlabBuilds [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline ERROR: script returned exit code 2 Finished: FAILURE