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

key/values not propogating into downstream tasks #8

Open
warroyo opened this issue Mar 15, 2018 · 8 comments
Open

key/values not propogating into downstream tasks #8

warroyo opened this issue Mar 15, 2018 · 8 comments

Comments

@warroyo
Copy link

warroyo commented Mar 15, 2018

I am seeing that when i have 2+ tasks in a job the key values are not being passed to the next task. both tasks have inputs and outputs for the key/values

@regevbr
Copy link
Contributor

regevbr commented Mar 15, 2018

@ezraroi can you please check your pipeline cf file and see how we handle this scenario?

@ezraroi
Copy link
Contributor

ezraroi commented Mar 18, 2018

It is working fine.. Example of a job:
image

@regevbr
Copy link
Contributor

regevbr commented Mar 18, 2018

@ezraroi are you sure that changes in the first task propagate to the second task? I remember it does but can you see it in the ui?

@warroyo
Copy link
Author

warroyo commented Mar 19, 2018

@ezraroi what does your task.yml file look like?

@ezraroi
Copy link
Contributor

ezraroi commented Mar 20, 2018

platform: linux

image_resource:
  type: docker-image
  source:
    repository: hub.docker.intel.com/swce-docker/pipeline-base

inputs:
  - name: tools
  - name: repo
  - name: keyval

outputs:
  - name: out
  - name: keyvalout

caches:
  - path: gradle
  - path: maven
  - path: npm

run:
  path: tools/tasks/task.sh

@ezraroi
Copy link
Contributor

ezraroi commented Mar 20, 2018

@regevbr we don not change values between steps...
image

@regevbr
Copy link
Contributor

regevbr commented Mar 20, 2018

Bummer, i think that is why we have so many jobs cause i couldn't get the changes to pass between tasks...

@pk0024703
Copy link

is this resource working between jobs, has anyone been successful in getting it configured?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants