Branch indexing
> git rev-parse --is-inside-work-tree # timeout=10
Setting origin to git@hd1:testing
> git config remote.origin.url git@hd1:testing # timeout=10
Fetching origin...
Fetching upstream changes from origin
> git --version # timeout=10
> git fetch --tags --progress origin +refs/heads/*:refs/remotes/origin/*
Seen branch in repository origin/master
Seen branch in repository origin/test
Seen branch in repository origin/test1
Seen branch in repository origin/testx
Seen 4 remote branches
> git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
> git config remote.origin.url git@hd1:testing # timeout=10
Fetching upstream changes from git@hd1:testing
> git --version # timeout=10
> git fetch --tags --progress git@hd1:testing +refs/heads/*:refs/remotes/origin/*
Checking out Revision eb966a50720c888113925000ad9179c79b1c187b (test1)
> git config core.sparsecheckout # timeout=10
> git checkout -f eb966a50720c888113925000ad9179c79b1c187b
> git rev-list eb966a50720c888113925000ad9179c79b1c187b # timeout=10
[Pipeline] stage (build)
Using the ‘stage’ step without a block argument is deprecated
Entering stage build
Proceeding
[Pipeline] node
Running on master in /var/lib/jenkins/workspace/an_example_test1-24PKZ6E7JM3ZFPAWUPX5ZXTQQLVB7HDDUSAFFRMP6IX3XZERQFTA
[Pipeline] {
[Pipeline] sh
[an_example_test1-24PKZ6E7JM3ZFPAWUPX5ZXTQQLVB7HDDUSAFFRMP6IX3XZERQFTA] Running shell script
+ pwd
/var/lib/jenkins/workspace/an_example_test1-24PKZ6E7JM3ZFPAWUPX5ZXTQQLVB7HDDUSAFFRMP6IX3XZERQFTA
[Pipeline] sh
[an_example_test1-24PKZ6E7JM3ZFPAWUPX5ZXTQQLVB7HDDUSAFFRMP6IX3XZERQFTA] Running shell script
+ cat simple.csh
cat: simple.csh: No such file or directory
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
ERROR: script returned exit code 1
Finished: FAILURE
Do you have the simple.csh file checked-in or not?
--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/73d02186-75a9-4e8a-8787-5ca05cc38ba5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
[root@hd1 workspace]# ls an_example_test1-24PKZ6E7JM3ZFPAWUPX5ZXTQQLVB7HDDUSAFFRMP6IX3XZERQFTA
[root@hd1 workspace]#
[root@hd1 workspace]# ls an_example_test1-24PKZ6E7JM3ZFPAWUPX5ZXTQQLVB7HDDUSAFFRMP6IX3XZERQFTA@script
avalon_asrts.sv binding.sv dir1 Jenkinsfile Just_Checking simple.csh source.csh tb_avalon_asrts.sv
[root@hd1 workspace]# ls an_example_testx-PIODN73ROEXZPUFF2FZCSVYPXYDLWSUW4QWZH4CJIGKQA2HJSI3A\@script/
avalon_asrts.sv binding.sv dir1 Jenkinsfile Just_Checking simple.csh source.csh tb_avalon_asrts.sv
[root@hd1 workspace]# ls an_example_test-JXUTXQYEXLBFTQ57MDSHQEWRX4WVYMTOO7GTJHX5PXY7SUM2PYKA\@script/
Jenkinsfile Just_Checking simple.csh temp
node {
stage 'build'
sh "pwd"
sh "ls ${workspace}@script"
sh "echo $PATH"
sh "cat ${workspace}@script/simple.csh"
sh "csh ${workspace}@script/simple.csh"
stage 'merge'
sh 'git stash'
sh 'git checkout master'
sh 'git merge test3'
sh 'git commit -am "Merged test3 branch to master"'
sh "git push origin master"
}
node {
stage 'build'
sh "pwd"
sh "ls ${workspace}@script"
sh "echo $PATH"
sh "cat ${workspace}@script/simple.csh"
sh "csh ${workspace}@script/simple.csh"
stage 'merge'
sh 'git stash'
sh 'git checkout master'
sh 'git merge test3'
sh 'git commit -am "Merged test3 branch to master"'
sh "git push origin master"
}