Console Output
Started by GitLab push by Michele Carignani
Obtained Jenkinsfile from git git@forge.etsi.org:etsi-cti-admin/test-repo.git
Running in Durability level: MAX_SURVIVABILITY
[Pipeline] node
Running on build.forge.etsi.org in /home/jenkins/workspace/playground/test-jenkinsfile
[Pipeline] {
[Pipeline] stage
[Pipeline] { (checkout)
[Pipeline] sh
+ + sort
printenv
BUILD_DISPLAY_NAME=#50
BUILD_ID=50
BUILD_NUMBER=50
BUILD_TAG=jenkins-playground-test-jenkinsfile-50
BUILD_URL=https://forge.etsi.org/jenkins/job/playground/job/test-jenkinsfile/50/
EXECUTOR_NUMBER=0
gitlabActionType=PUSH
gitlabAfter=08c0b3579d77403c313e912c80381c2aafdaab3c
gitlabBefore=558a559a45522fab99d4adb3d5840989f9cfd654
gitlabBranch=master
gitlabMergeRequestLastCommit=08c0b3579d77403c313e912c80381c2aafdaab3c
gitlabSourceBranch=master
gitlabSourceNamespace=etsi-cti-admin
gitlabSourceRepoHomepage=https://forge.etsi.org/rep/etsi-cti-admin/test-repo
gitlabSourceRepoHttpUrl=https://forge.etsi.org/rep/etsi-cti-admin/test-repo.git
gitlabSourceRepoName=test-repo
gitlabSourceRepoSshUrl=git@forge.etsi.org:etsi-cti-admin/test-repo.git
gitlabSourceRepoURL=git@forge.etsi.org:etsi-cti-admin/test-repo.git
gitlabTargetBranch=master
gitlabUserName=Michele Carignani
HOME=/home/jenkins
HUDSON_COOKIE=b52493a3-b9dd-4cb3-a2f5-f3ddb5d3e4c2
HUDSON_HOME=/var/lib/jenkins
HUDSON_SERVER_COOKIE=7224e361f92dcf07
HUDSON_URL=https://forge.etsi.org/jenkins/
JENKINS_HOME=/var/lib/jenkins
JENKINS_NODE_COOKIE=5de4fed7-a8dd-4677-9c3b-2dfbed644797
JENKINS_SERVER_COOKIE=durable-ef9e291032ec9a8240c408a3a56c927c
JENKINS_URL=https://forge.etsi.org/jenkins/
JOB_BASE_NAME=test-jenkinsfile
JOB_DISPLAY_URL=https://forge.etsi.org/jenkins/job/playground/job/test-jenkinsfile/display/redirect
JOB_NAME=playground/test-jenkinsfile
JOB_URL=https://forge.etsi.org/jenkins/job/playground/job/test-jenkinsfile/
LANG=en_US.UTF-8
LC_ADDRESS=fr_FR.UTF-8
LC_IDENTIFICATION=fr_FR.UTF-8
LC_MEASUREMENT=fr_FR.UTF-8
LC_MONETARY=fr_FR.UTF-8
LC_NAME=fr_FR.UTF-8
LC_NUMERIC=fr_FR.UTF-8
LC_PAPER=fr_FR.UTF-8
LC_TELEPHONE=fr_FR.UTF-8
LC_TIME=fr_FR.UTF-8
LOGNAME=jenkins
MAIL=/var/mail/jenkins
NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat
NODE_LABELS=build.forge.etsi.org docker
NODE_NAME=build.forge.etsi.org
OLDPWD=/home/jenkins
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
PWD=/home/jenkins/workspace/playground/test-jenkinsfile
RUN_CHANGES_DISPLAY_URL=https://forge.etsi.org/jenkins/job/playground/job/test-jenkinsfile/50/display/redirect?page=changes
RUN_DISPLAY_URL=https://forge.etsi.org/jenkins/job/playground/job/test-jenkinsfile/50/display/redirect
SHELL=/bin/bash
SHLVL=1
SSH_CLIENT=172.29.10.26 33682 22
SSH_CONNECTION=172.29.10.26 33682 172.29.10.27 22
STAGE_NAME=checkout
stf569_deploy_pass=PCWvfcqD55ctYhrihe1X
stf569_deploy_user=gitlab+deploy-token-2
USER=jenkins
_=/usr/bin/java
WORKSPACE=/home/jenkins/workspace/playground/test-jenkinsfile
XDG_RUNTIME_DIR=/run/user/1004
XDG_SESSION_ID=1
XFILESEARCHPATH=/usr/dt/app-defaults/%L/Dt
[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:etsi-cti-admin/test-repo.git # timeout=10
Fetching upstream changes from git@forge.etsi.org:etsi-cti-admin/test-repo.git
> git --version # timeout=10
using GIT_SSH to set credentials
> git fetch --tags --progress git@forge.etsi.org:etsi-cti-admin/test-repo.git +refs/heads/*:refs/remotes/origin/*
> git rev-parse remotes/origin/master^{commit} # timeout=10
> git branch -a -v --no-abbrev --contains 08c0b3579d77403c313e912c80381c2aafdaab3c # timeout=10
Checking out Revision 08c0b3579d77403c313e912c80381c2aafdaab3c (origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f 08c0b3579d77403c313e912c80381c2aafdaab3c
Commit message: "Merge branch 'carignani-master-patch-58367' into 'master'"
> git rev-list --no-walk 558a559a45522fab99d4adb3d5840989f9cfd654 # timeout=10
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (say hello)
[Pipeline] echo
Hello world
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (say goodbye)
[Pipeline] echo
Goodbye
[Pipeline] sh
+ pwd
+ echo /home/jenkins/workspace/playground/test-jenkinsfile
/home/jenkins/workspace/playground/test-jenkinsfile
[Pipeline] sh
+ pwd
/home/jenkins/workspace/playground/test-jenkinsfile
[Pipeline] sh
+ ls
description.md
esrp.tplan2
example.yaml
img_bank
Jenkinsfile
mc-file
seb-1
seb-1-proposed
settings.md
test.txt
test.xml
[Pipeline] echo
again
[Pipeline] sh
+ cat Jenkinsfile
node {
stage('checkout'){
sh 'printenv | sort'
checkout scm
}
stage("say hello"){
echo "Hello world"
}
stage("say goodbye"){
echo "Goodbye"
sh 'echo $(pwd)'
sh 'pwd'
sh 'ls'
echo "again"
sh 'cat Jenkinsfile'
updateGitlabCommitStatus name: 'Build', state: 'success'
}
}
[Pipeline] updateGitlabCommitStatus
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
Finished: SUCCESS