Fix reference-auth bitbucket pipeline to update correct snapshot version in all 3 pom files

Description

After doing a release today, it was observed that only one of three pom files was updated with the correct snapshot version.

Activity

Show:
Gopal Menon
March 2, 2021, 2:52 AM
Edited

Ran the pipeline with Shilpy. The latest fix worked. The full path needed to be specified for the element being updated.

Gopal Menon
February 17, 2021, 2:28 AM

The pom versions are still not correct. This will need further analysis.

Gopal Menon
February 12, 2021, 10:24 PM
Edited

I fixed the pipeline for updating all three pom files. Branch is the one for SNDBX-1378.

Gopal Menon
February 12, 2021, 7:44 PM
Edited

The cause of the problem where only one of three pom files is updated is that after making the change to update the version, the command git add . is run. This adds just the pom file in the current directory. The other two pom files should also be added, before we do a commit.

The following in the pipeline after git commit shows that only one file was committed: 1 file changed, 1 insertion(+), 1 deletion(-)

Gopal Menon
February 12, 2021, 4:45 PM

I noticed that the pipeline for the test environment was incomplete as it did not have a check mark. I clicked Run on the second step and it failed. I checked on aws and the container used for prod is hspconsortium/auth:1.17.16 and the one for test is hspconsortium/auth:1.17.17-SNAPSHOT, which is correct.

Done

Assignee

Gopal Menon

Reporter

Gopal Menon

Labels

None

Priority

Major