Skip to content

Commit

Permalink
Merge pull request #924 from subutai-io/fixing-jenkins
Browse files Browse the repository at this point in the history
Fixing Jenkinsfile
crioto authored May 2, 2018

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
2 parents aa68d3b + 5f07b0b commit 04b9589
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
@@ -190,11 +190,11 @@ try {
sh """
rm -rf ${CWD}/p2p
git clone https://github.com/subutai-io/p2p
cd ${CWD}/p2p
"""

if (env.BRANCH_NAME != 'master') {
sh """
cd ${CWD}/p2p
git checkout --track origin/${env.BRANCH_NAME} && rm -rf .git*
"""
}

0 comments on commit 04b9589

Please sign in to comment.