Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix commands to download latest release version of chectl in E2E happy path tests PR job #14182

Merged
merged 3 commits into from Aug 9, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
12 changes: 7 additions & 5 deletions e2e/jenkins/crw-ci/pr-check/k8s/Jenkinsfile
Expand Up @@ -37,11 +37,13 @@ pipeline {
stage("Download chectl") {
steps {
script {
// TO-DO use option "--install-path" https://github.com/eclipse/che/pull/14182
sh """
wget --no-verbose https://github.com/che-incubator/chectl/releases/latest/download/chectl-linux \\
-O ${WORKSPACE}/chectl

sudo chmod +x ${WORKSPACE}/chectl
curl -sL https://www.eclipse.org/che/chectl/ > install_chectl.sh
chmod +x install_chectl.sh
sudo PATH=$PATH ./install_chectl.sh -channel=stable
sudo mv /usr/local/bin/chectl ${WORKSPACE}/chectl
sudo chmod +x ${WORKSPACE}/chectl
"""
}
}
Expand Down Expand Up @@ -146,7 +148,7 @@ pipeline {
stage("Run E2E Happy path tests") {
steps {
script {
// TODO switch to eclipse/che-e2e image
// TO-DO (#14171) switch to eclipse/che-e2e image
// sh """
// CHE_HOST=\$(kubectl get ingress che-ingress -n=che -o=jsonpath={'.spec.rules[0].host'})
// CHE_URL=http://\${CHE_HOST}
Expand Down